Skip to content

Commit 35baefb

Browse files
committed
Merge branch '5.1' into 5.2
* 5.1: Use ::class keyword when possible
2 parents 8ab0a58 + 7468748 commit 35baefb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Controller/ArgumentResolverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function testGetArgumentsFailsOnUnresolvedValue()
132132
self::$resolver->getArguments($request, $controller);
133133
$this->fail('->getArguments() throws a \RuntimeException exception if it cannot determine the argument value');
134134
} catch (\Exception $e) {
135-
$this->assertInstanceOf('\RuntimeException', $e, '->getArguments() throws a \RuntimeException exception if it cannot determine the argument value');
135+
$this->assertInstanceOf(\RuntimeException::class, $e, '->getArguments() throws a \RuntimeException exception if it cannot determine the argument value');
136136
}
137137
}
138138

0 commit comments

Comments
 (0)