Skip to content

Commit 2c698e2

Browse files
committed
Fix phpstan errors
1 parent e88f89d commit 2c698e2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: tests/Grant/AuthCodeGrantTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ public function testValidateAuthorizationRequestInvalidScopes(): void
509509
return;
510510
}
511511

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

515515
public function testCompleteAuthorizationRequest(): void
@@ -594,7 +594,7 @@ public function testCompleteAuthorizationRequestDenied(): void
594594
return;
595595
}
596596

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

600600
public function testRespondToAccessTokenRequest(): void

Diff for: tests/Grant/ImplicitGrantTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public function testValidateAuthorizationRequestInvalidScopes(): void
241241
return;
242242
}
243243

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

247247
public function testCompleteAuthorizationRequest(): void
@@ -310,7 +310,7 @@ public function testCompleteAuthorizationRequestDenied(): void
310310
return;
311311
}
312312

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

316316
public function testAccessTokenRepositoryUniqueConstraintCheck(): void

0 commit comments

Comments
 (0)