Permalink
Browse files

removed superfluous `public` modifier from interface methods

  • Loading branch information...
craue committed Apr 24, 2012
1 parent 5ed9dbe commit f287f0804dbb1f2e95ba6891404fffb224b9004f
@@ -35,7 +35,7 @@
* @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 @@ public function generateCsrfToken($intention);
*
* @return Boolean Whether the token supplied by the browser is correct
*/
- public function isCsrfTokenValid($intention, $token);
+ function isCsrfTokenValid($intention, $token);
}
@@ -26,7 +26,7 @@
* @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 @@ function clear();
*
* @param SessionBagInterface $bag
*/
- public function registerBag(SessionBagInterface $bag);
+ function registerBag(SessionBagInterface $bag);
/**
* Gets a bag instance by name.
@@ -188,12 +188,12 @@ public function registerBag(SessionBagInterface $bag);
*
* @return SessionBagInterface
*/
- public function getBag($name);
+ function getBag($name);
/**
* Gets session meta.
*
* @return MetadataBag
*/
- public function getMetadataBag();
+ function getMetadataBag();
}
@@ -34,5 +34,5 @@ function extract($directory, MessageCatalogue $catalogue);
*
* @param string $prefix The prefix
*/
- public function setPrefix($prefix);
+ function setPrefix($prefix);
}

0 comments on commit f287f08

Please sign in to comment.