Skip to content

Commit 55114d8

Browse files
committed
Use ::class keyword when possible
1 parent 8a5306c commit 55114d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/DotenvTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ public function testOverload()
322322

323323
public function testLoadDirectory()
324324
{
325-
$this->expectException('Symfony\Component\Dotenv\Exception\PathException');
325+
$this->expectException(\Symfony\Component\Dotenv\Exception\PathException::class);
326326
$dotenv = new Dotenv(true);
327327
$dotenv->load(__DIR__);
328328
}

0 commit comments

Comments
 (0)