From f287f0804dbb1f2e95ba6891404fffb224b9004f Mon Sep 17 00:00:00 2001 From: Christian Raue Date: Tue, 24 Apr 2012 19:15:04 +0200 Subject: [PATCH] removed superfluous `public` modifier from interface methods --- .../Extension/Csrf/CsrfProvider/CsrfProviderInterface.php | 4 ++-- .../HttpFoundation/Session/Flash/FlashBagInterface.php | 2 +- .../Component/HttpFoundation/Session/SessionInterface.php | 6 +++--- .../Component/Translation/Extractor/ExtractorInterface.php | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/CsrfProviderInterface.php b/src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/CsrfProviderInterface.php index 2fe990b429..5ba99caa7a 100644 --- a/src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/CsrfProviderInterface.php +++ b/src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/CsrfProviderInterface.php @@ -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); } diff --git a/src/Symfony/Component/HttpFoundation/Session/Flash/FlashBagInterface.php b/src/Symfony/Component/HttpFoundation/Session/Flash/FlashBagInterface.php index 7da1227096..2fab8bddb8 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Flash/FlashBagInterface.php +++ b/src/Symfony/Component/HttpFoundation/Session/Flash/FlashBagInterface.php @@ -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. diff --git a/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php b/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php index 15b4c2924c..833dd9cf84 100644 --- a/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php +++ b/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php @@ -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(); } diff --git a/src/Symfony/Component/Translation/Extractor/ExtractorInterface.php b/src/Symfony/Component/Translation/Extractor/ExtractorInterface.php index 4929b9c3d4..5378a66071 100644 --- a/src/Symfony/Component/Translation/Extractor/ExtractorInterface.php +++ b/src/Symfony/Component/Translation/Extractor/ExtractorInterface.php @@ -34,5 +34,5 @@ interface ExtractorInterface * * @param string $prefix The prefix */ - public function setPrefix($prefix); + function setPrefix($prefix); }