Skip to content

Commit aa36e20

Browse files
authored
Merge pull request #27663 from xuanquynh/fix_session_guard_docblock
[5.5] Fix session guard docblock
2 parents b7643a3 + 5af8107 commit aa36e20

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/Illuminate/Auth/SessionGuard.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,9 @@ public function validate(array $credentials = [])
261261
*
262262
* @param string $field
263263
* @param array $extraConditions
264-
* @return \Symfony\Component\HttpFoundation\Response|null
264+
* @return void
265+
*
266+
* @throws \Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException
265267
*/
266268
public function basic($field = 'email', $extraConditions = [])
267269
{
@@ -284,7 +286,9 @@ public function basic($field = 'email', $extraConditions = [])
284286
*
285287
* @param string $field
286288
* @param array $extraConditions
287-
* @return \Symfony\Component\HttpFoundation\Response|null
289+
* @return void
290+
*
291+
* @throws \Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException
288292
*/
289293
public function onceBasic($field = 'email', $extraConditions = [])
290294
{
@@ -330,6 +334,7 @@ protected function basicCredentials(Request $request, $field)
330334
* Get the response for basic authentication.
331335
*
332336
* @return void
337+
*
333338
* @throws \Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException
334339
*/
335340
protected function failedBasicResponse()

0 commit comments

Comments
 (0)