Skip to content

Commit

Permalink
CS: Apply ternary_to_null_coalescing fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Dec 26, 2020
1 parent d99fbef commit 1dcbcd5
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 @@ -577,7 +577,7 @@ public function mirror($originDir, $targetDir, \Traversable $iterator = null, $o
} 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 1dcbcd5

Please sign in to comment.