Skip to content

Commit

Permalink
remove return type from method id()
Browse files Browse the repository at this point in the history
  • Loading branch information
sinbadxiii committed Sep 5, 2022
1 parent 1d66217 commit c426d32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/AuthenticatableInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

interface AuthenticatableInterface
{
public function getAuthIdentifier(): mixed;
public function getAuthIdentifier();
public function getAuthPassword(): string;
}
2 changes: 1 addition & 1 deletion src/Guard/GuardHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ trait GuardHelper
/**
* @return mixed
*/
public function id(): mixed
public function id()
{
if ($this->user()) {
return $this->user()->getAuthIdentifier();
Expand Down

0 comments on commit c426d32

Please sign in to comment.