@@ -234,9 +234,9 @@ public function testValidateAuthorizationRequestInvalidScopes(): void
234234 try {
235235 $ grant ->validateAuthorizationRequest ($ request );
236236 } catch (OAuthServerException $ e ) {
237- $ this -> assertSame (5 , $ e ->getCode ());
238- $ this -> assertSame ('invalid_scope ' , $ e ->getErrorType ());
239- $ this -> assertSame ('https://foo/bar#state=foo ' , $ e ->getRedirectUri ());
237+ self :: assertSame (5 , $ e ->getCode ());
238+ self :: assertSame ('invalid_scope ' , $ e ->getErrorType ());
239+ self :: assertSame ('https://foo/bar#state=foo ' , $ e ->getRedirectUri ());
240240
241241 return ;
242242 }
@@ -304,9 +304,9 @@ public function testCompleteAuthorizationRequestDenied(): void
304304 try {
305305 $ grant ->completeAuthorizationRequest ($ authRequest );
306306 } catch (OAuthServerException $ e ) {
307- $ this -> assertSame (9 , $ e ->getCode ());
308- $ this -> assertSame ('access_denied ' , $ e ->getErrorType ());
309- $ this -> assertSame ('https://foo/bar#state=foo ' , $ e ->getRedirectUri ());
307+ self :: assertSame (9 , $ e ->getCode ());
308+ self :: assertSame ('access_denied ' , $ e ->getErrorType ());
309+ self :: assertSame ('https://foo/bar#state=foo ' , $ e ->getRedirectUri ());
310310
311311 return ;
312312 }
0 commit comments