Skip to content

Commit 250baf5

Browse files
committed
fix
1 parent 779ed7a commit 250baf5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/GraphApplication.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ final class GraphApplication
1515
public function start(string $jsonGlob): int
1616
{
1717
$jsonFiles = glob($jsonGlob, GLOB_NOSORT);
18-
usort( $jsonFiles, function( $a, $b ) { return filemtime($a) - filemtime($b); } );
18+
usort( $jsonFiles, function( $a, $b ) {
19+
return \Safe\filemtime($a) - \Safe\filemtime($b);
20+
});
1921

2022
$it = $this->iterateOverFiles($jsonFiles);
2123

0 commit comments

Comments
 (0)