Skip to content

Commit 763c7e4

Browse files
committed
Use ::class keyword when possible
1 parent a163eed commit 763c7e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Functional/UserPasswordEncoderCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ public function testEncodePasswordSodiumOutput()
258258

259259
public function testEncodePasswordNoConfigForGivenUserClass()
260260
{
261-
$this->expectException('\RuntimeException');
261+
$this->expectException(\RuntimeException::class);
262262
$this->expectExceptionMessage('No encoder has been configured for account "Foo\Bar\User".');
263263

264264
$this->passwordEncoderCommandTester->execute([

0 commit comments

Comments
 (0)