Skip to content

Commit

Permalink
Reapply fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Firehed committed Jan 20, 2021
1 parent 04e490f commit 651a84c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Iterator/GlobIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ public function __construct($glob, $flags = 0)
('\\' !== DIRECTORY_SEPARATOR || false === strpos($glob, '[^'))
) {
// GLOB_BRACE is not available in some environments.
// $results = glob($glob, defined('GLOB_BRACE') ? GLOB_BRACE : 0);
$results = glob($glob, GLOB_BRACE);
$results = glob($glob, defined('GLOB_BRACE') ? GLOB_BRACE : 0);

// $results may be empty or false if $glob is invalid
if (empty($results)) {
Expand Down

0 comments on commit 651a84c

Please sign in to comment.