Skip to content

Commit 7081fc1

Browse files
committed
cs
1 parent e16ca27 commit 7081fc1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

preset-fixer/base.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
declare(strict_types=1);
44

55
$files = file(__DIR__ . '/../filelist.tmp', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
6-
$files = array_map(function ($path) {
7-
return new SplFileInfo($path);
8-
}, $files);
6+
$files = array_map(fn($path) => new SplFileInfo($path), $files);
97

108
$config = new PhpCsFixer\Config;
119
$config->registerCustomFixers([

0 commit comments

Comments
 (0)