diff --git a/src/Symfony/Component/HttpFoundation/Session/Session.php b/src/Symfony/Component/HttpFoundation/Session/Session.php index ac626fd58998d..6864f1e7641db 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Session.php +++ b/src/Symfony/Component/HttpFoundation/Session/Session.php @@ -240,9 +240,7 @@ public function getBag($name) } /** - * Gets the flashbag interface. - * - * @return FlashBagInterface + * {@inheritdoc} */ public function getFlashBag() { diff --git a/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php b/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php index f98c0a4a1c3ca..a7b6c2e1647e3 100644 --- a/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php +++ b/src/Symfony/Component/HttpFoundation/Session/SessionInterface.php @@ -205,4 +205,11 @@ public function getBag($name); * @return MetadataBag */ public function getMetadataBag(); + + /** + * Gets the flash bag. + * + * @return FlashBagInterface + */ + public function getFlashBag(); }