Commit 35651ea1 by AlexGx

fix code style `Expected 1 space after FUNCTION keyword; 0 found`

parent c047fbe0
...@@ -544,7 +544,7 @@ class BaseFileHelper ...@@ -544,7 +544,7 @@ class BaseFileHelper
private static function firstWildcardInPattern($pattern) private static function firstWildcardInPattern($pattern)
{ {
$wildcards = array('*','?','[','\\'); $wildcards = array('*','?','[','\\');
$wildcardSearch = function($r, $c) use ($pattern) { $wildcardSearch = function ($r, $c) use ($pattern) {
$p = strpos($pattern, $c); $p = strpos($pattern, $c);
return $r===false ? $p : ($p===false ? $r : min($r, $p)); return $r===false ? $p : ($p===false ? $r : min($r, $p));
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment