Skip to content

Commit

Permalink
[7.x] PHPDoc fix for Auth methods (#31884)
Browse files Browse the repository at this point in the history
* Update GuardHelpers.php

* Update SessionGuard.php

* Update Auth.php
  • Loading branch information
jonkerw85 authored Mar 10, 2020
1 parent 3542cf1 commit ce5b5b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GuardHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function guest()
/**
* Get the ID for the currently authenticated user.
*
* @return int|null
* @return int|string|null
*/
public function id()
{
Expand Down
2 changes: 1 addition & 1 deletion SessionGuard.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ protected function recaller()
/**
* Get the ID for the currently authenticated user.
*
* @return int|null
* @return int|string|null
*/
public function id()
{
Expand Down

0 comments on commit ce5b5b9

Please sign in to comment.