Skip to content

Commit

Permalink
Merge branch '4.4' into 5.1
Browse files Browse the repository at this point in the history
* 4.4:
  CS: Apply ternary_to_null_coalescing fixer
  • Loading branch information
derrabus committed Dec 27, 2020
2 parents fa8f8ca + 1dcbcd5 commit 11960b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ public function mirror(string $originDir, string $targetDir, \Traversable $itera
} elseif (is_dir($file)) {
$this->mkdir($target);
} elseif (is_file($file)) {
$this->copy($file, $target, isset($options['override']) ? $options['override'] : false);
$this->copy($file, $target, $options['override'] ?? false);
} else {
throw new IOException(sprintf('Unable to guess "%s" file type.', $file), 0, null, $file);
}
Expand Down

0 comments on commit 11960b8

Please sign in to comment.