We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb10983 commit 15c129eCopy full SHA for 15c129e
tools/generator
@@ -20,7 +20,7 @@ function scan_dir(string $dir, callable $filter = null): array
20
{
21
$files = scandir($dir);
22
$files = array_filter($files, function (string $f) {
23
- return $f{0} !== '.';
+ return $f[0] !== '.';
24
});
25
array_walk($files, function (string &$value) use ($dir) {
26
$value = rtrim($dir, '/') . '/' . $value;
0 commit comments