Skip to content

Commit

Permalink
style: native_constant_invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
partikus committed Jan 10, 2024
1 parent 74d3c84 commit 649d6dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Definition/Source/DefinitionGlob.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private function initialize() : void
}

// prevent errors due to GLOB_BRACE that does not exist e.g. Alpine Linux
$flags = defined('GLOB_BRACE') ? GLOB_BRACE : 0;
$flags = defined('GLOB_BRACE') ? \GLOB_BRACE : 0;
$paths = glob($this->pattern, $flags);
$sources = array_map(fn (string $path) => new DefinitionFile($path, $this->autowiring), $paths);

Expand Down

0 comments on commit 649d6dc

Please sign in to comment.