You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -440,7 +440,7 @@ public function testFollowRedirect()
440
440
$client->followRedirect();
441
441
$this->fail('->followRedirect() throws a \LogicException if the request did not respond with 30x HTTP Code');
442
442
} catch (\Exception$e) {
443
-
$this->assertInstanceOf('LogicException', $e, '->followRedirect() throws a \LogicException if the request did not respond with 30x HTTP Code');
443
+
$this->assertInstanceOf(\LogicException::class, $e, '->followRedirect() throws a \LogicException if the request did not respond with 30x HTTP Code');
444
444
}
445
445
}
446
446
@@ -470,7 +470,7 @@ public function testFollowRedirectWithMaxRedirects()
470
470
$client->followRedirect();
471
471
$this->fail('->followRedirect() throws a \LogicException if the request was redirected and limit of redirections was reached');
472
472
} catch (\Exception$e) {
473
-
$this->assertInstanceOf('LogicException', $e, '->followRedirect() throws a \LogicException if the request was redirected and limit of redirections was reached');
473
+
$this->assertInstanceOf(\LogicException::class, $e, '->followRedirect() throws a \LogicException if the request was redirected and limit of redirections was reached');
0 commit comments