Skip to content

Commit fff369e

Browse files
a.dmitryukfabpot
authored andcommitted
[HttpFoundation] Propagate SessionNotFoundException in Request::getSession docBlock
1 parent 8b3d14b commit fff369e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Request.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,8 @@ public function get(string $key, mixed $default = null): mixed
690690

691691
/**
692692
* Gets the Session.
693+
*
694+
* @throws SessionNotFoundException When session is not set properly
693695
*/
694696
public function getSession(): SessionInterface
695697
{

0 commit comments

Comments
 (0)