Skip to content

Commit 229475d

Browse files
Minor performance tweak
1 parent 76919f8 commit 229475d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Loader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ protected function readLinesFromFile($filePath)
147147
*/
148148
protected function isComment($line)
149149
{
150-
return strpos(trim($line), '#') === 0;
150+
return strpos(ltrim($line), '#') === 0;
151151
}
152152

153153
/**

0 commit comments

Comments
 (0)