Skip to content

Commit aaa1424

Browse files
committed
Remove unused method from PathNotFoundException
1 parent 2ac0a17 commit aaa1424

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/File/PathNotFoundException.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,9 @@
88
final class PathNotFoundException extends Exception
99
{
1010

11-
public function __construct(private string $path)
11+
public function __construct(string $path)
1212
{
1313
parent::__construct(sprintf('Path %s does not exist', $path));
1414
}
1515

16-
public function getPath(): string
17-
{
18-
return $this->path;
19-
}
20-
2116
}

0 commit comments

Comments
 (0)