Skip to content

Commit fc91a8d

Browse files
committed
Check for directory
1 parent 5ab223e commit fc91a8d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Template/psalm_autoload.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
];
1111

1212
foreach ($helperDirs as $dir) {
13+
if (! is_dir($dir)) {
14+
continue;
15+
}
16+
1317
$dir = __DIR__ . '/' . $dir;
1418
chdir($dir);
1519

0 commit comments

Comments
 (0)