Skip to content

Commit

Permalink
Use ::class keyword when possible
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jan 11, 2021
1 parent 8a5306c commit 55114d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/DotenvTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ public function testOverload()

public function testLoadDirectory()
{
$this->expectException('Symfony\Component\Dotenv\Exception\PathException');
$this->expectException(\Symfony\Component\Dotenv\Exception\PathException::class);
$dotenv = new Dotenv(true);
$dotenv->load(__DIR__);
}
Expand Down

0 comments on commit 55114d8

Please sign in to comment.