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
@@ -436,7 +436,7 @@ public function testFollowRedirect()
436
436
$client->followRedirect();
437
437
$this->fail('->followRedirect() throws a \LogicException if the request did not respond with 30x HTTP Code');
438
438
} catch (\Exception$e) {
439
-
$this->assertInstanceOf('LogicException', $e, '->followRedirect() throws a \LogicException if the request did not respond with 30x HTTP Code');
439
+
$this->assertInstanceOf(\LogicException::class, $e, '->followRedirect() throws a \LogicException if the request did not respond with 30x HTTP Code');
440
440
}
441
441
}
442
442
@@ -466,7 +466,7 @@ public function testFollowRedirectWithMaxRedirects()
466
466
$client->followRedirect();
467
467
$this->fail('->followRedirect() throws a \LogicException if the request was redirected and limit of redirections was reached');
468
468
} catch (\Exception$e) {
469
-
$this->assertInstanceOf('LogicException', $e, '->followRedirect() throws a \LogicException if the request was redirected and limit of redirections was reached');
469
+
$this->assertInstanceOf(\LogicException::class, $e, '->followRedirect() throws a \LogicException if the request was redirected and limit of redirections was reached');
0 commit comments