From c426d3271dd4ea60a0c8962366abff9679175bd8 Mon Sep 17 00:00:00 2001 From: sinbad Date: Mon, 5 Sep 2022 14:40:38 +0500 Subject: [PATCH] remove return type from method id() --- src/AuthenticatableInterface.php | 2 +- src/Guard/GuardHelper.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AuthenticatableInterface.php b/src/AuthenticatableInterface.php index cd918a7..8eae47a 100644 --- a/src/AuthenticatableInterface.php +++ b/src/AuthenticatableInterface.php @@ -6,6 +6,6 @@ interface AuthenticatableInterface { - public function getAuthIdentifier(): mixed; + public function getAuthIdentifier(); public function getAuthPassword(): string; } \ No newline at end of file diff --git a/src/Guard/GuardHelper.php b/src/Guard/GuardHelper.php index 8b41517..2fedf01 100644 --- a/src/Guard/GuardHelper.php +++ b/src/Guard/GuardHelper.php @@ -22,7 +22,7 @@ trait GuardHelper /** * @return mixed */ - public function id(): mixed + public function id() { if ($this->user()) { return $this->user()->getAuthIdentifier();