Skip to content

Commit

Permalink
Fix phpstan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Sephster committed Oct 11, 2024
1 parent e88f89d commit 2c698e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/Grant/AuthCodeGrantTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ public function testValidateAuthorizationRequestInvalidScopes(): void
return;
}

$this->fail('The expected exception was not thrown');
self::fail('The expected exception was not thrown');
}

public function testCompleteAuthorizationRequest(): void
Expand Down Expand Up @@ -594,7 +594,7 @@ public function testCompleteAuthorizationRequestDenied(): void
return;
}

$this->fail('The expected exception was not thrown');
self::fail('The expected exception was not thrown');
}

public function testRespondToAccessTokenRequest(): void
Expand Down
4 changes: 2 additions & 2 deletions tests/Grant/ImplicitGrantTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public function testValidateAuthorizationRequestInvalidScopes(): void
return;
}

$this->fail('Did not throw expected exception');
self::fail('Did not throw expected exception');
}

public function testCompleteAuthorizationRequest(): void
Expand Down Expand Up @@ -310,7 +310,7 @@ public function testCompleteAuthorizationRequestDenied(): void
return;
}

$this->fail('Did not throw expected exception');
self::fail('Did not throw expected exception');
}

public function testAccessTokenRepositoryUniqueConstraintCheck(): void
Expand Down

0 comments on commit 2c698e2

Please sign in to comment.