merged branch craue/patch-19 (PR #4101)
Commits
-------
f287f08
removed superfluous `public` modifier from interface methods
Discussion
----------
removed superfluous `public` modifier from interface methods
This commit is contained in:
commit
25028a7c79
|
@ -35,7 +35,7 @@ interface CsrfProviderInterface
|
|||
* @param string $intention Some value that identifies the action intention
|
||||
* (i.e. "authenticate"). Doesn't have to be a secret value.
|
||||
*/
|
||||
public function generateCsrfToken($intention);
|
||||
function generateCsrfToken($intention);
|
||||
|
||||
/**
|
||||
* Validates a CSRF token.
|
||||
|
@ -45,5 +45,5 @@ interface CsrfProviderInterface
|
|||
*
|
||||
* @return Boolean Whether the token supplied by the browser is correct
|
||||
*/
|
||||
public function isCsrfTokenValid($intention, $token);
|
||||
function isCsrfTokenValid($intention, $token);
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ interface FlashBagInterface extends SessionBagInterface
|
|||
* @param string $type
|
||||
* @param string $message
|
||||
*/
|
||||
public function add($type, $message);
|
||||
function add($type, $message);
|
||||
|
||||
/**
|
||||
* Registers a message for a given type.
|
||||
|
|
|
@ -179,7 +179,7 @@ interface SessionInterface
|
|||
*
|
||||
* @param SessionBagInterface $bag
|
||||
*/
|
||||
public function registerBag(SessionBagInterface $bag);
|
||||
function registerBag(SessionBagInterface $bag);
|
||||
|
||||
/**
|
||||
* Gets a bag instance by name.
|
||||
|
@ -188,12 +188,12 @@ interface SessionInterface
|
|||
*
|
||||
* @return SessionBagInterface
|
||||
*/
|
||||
public function getBag($name);
|
||||
function getBag($name);
|
||||
|
||||
/**
|
||||
* Gets session meta.
|
||||
*
|
||||
* @return MetadataBag
|
||||
*/
|
||||
public function getMetadataBag();
|
||||
function getMetadataBag();
|
||||
}
|
||||
|
|
|
@ -34,5 +34,5 @@ interface ExtractorInterface
|
|||
*
|
||||
* @param string $prefix The prefix
|
||||
*/
|
||||
public function setPrefix($prefix);
|
||||
function setPrefix($prefix);
|
||||
}
|
||||
|
|
Reference in New Issue