Skip to content

Commit 8b7d8f0

Browse files
authored
Update src/FileName.php
1 parent ecb4f09 commit 8b7d8f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FileName.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function __construct($name)
2020
private function compile($file)
2121
{
2222
return <<<COMPILED
23-
!is_string(${file}) ? null : pathinfo({$file}, PATHINFO_FILENAME)
23+
(!is_string(${file}) ? null : pathinfo({$file}, PATHINFO_FILENAME))
2424
COMPILED;
2525
}
2626

0 commit comments

Comments
 (0)