Skip to content

Commit 5d4e746

Browse files
@throws annotations should go after @return
1 parent b9b463f commit 5d4e746

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ResponseHeaderBag.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ public function removeCookie($name, $path = '/', $domain = null)
181181
*
182182
* @param string $format
183183
*
184-
* @throws \InvalidArgumentException When the $format is invalid
185-
*
186184
* @return array
185+
*
186+
* @throws \InvalidArgumentException When the $format is invalid
187187
*/
188188
public function getCookies($format = self::COOKIES_FLAT)
189189
{

Session/Storage/SessionStorageInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ interface SessionStorageInterface
2424
/**
2525
* Starts the session.
2626
*
27-
* @throws \RuntimeException If something goes wrong starting the session.
28-
*
2927
* @return bool True if started.
28+
*
29+
* @throws \RuntimeException If something goes wrong starting the session.
3030
*/
3131
public function start();
3232

0 commit comments

Comments
 (0)