Skip to content

Commit

Permalink
Update PHP syntax to fix phpstan, psalm, phpcs, and rector tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Russell Kenny committed Apr 9, 2024
1 parent 40a009c commit bd2cdd8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Guards/AuthenticationGuard.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ final class AuthenticationGuard extends GuardAbstract implements AuthenticationG
*/
protected const TELESCOPE = '\Laravel\Telescope\Telescope';

/**
* @var bool
*/
private bool $didCredRefresh = false;

public function find(): ?CredentialEntityContract
Expand Down Expand Up @@ -97,7 +94,7 @@ public function getCredential(): ?CredentialEntityContract
return $this->getImposter();
}

if (!empty($this->didCredRefresh)) {
if ($this->didCredRefresh) {
return $this->credential;
}

Expand Down

0 comments on commit bd2cdd8

Please sign in to comment.