Skip to content

Commit 15c129e

Browse files
authored
Fix deprecated curly brace syntax for string
Closes #32.
1 parent bb10983 commit 15c129e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/generator

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function scan_dir(string $dir, callable $filter = null): array
2020
{
2121
$files = scandir($dir);
2222
$files = array_filter($files, function (string $f) {
23-
return $f{0} !== '.';
23+
return $f[0] !== '.';
2424
});
2525
array_walk($files, function (string &$value) use ($dir) {
2626
$value = rtrim($dir, '/') . '/' . $value;

0 commit comments

Comments
 (0)