From 1dcbcd546f262d31d03e7230c0ca9e38b327008c Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Sun, 27 Dec 2020 00:49:32 +0100 Subject: [PATCH] CS: Apply ternary_to_null_coalescing fixer --- Filesystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Filesystem.php b/Filesystem.php index e20972cae..4053d9e6a 100644 --- a/Filesystem.php +++ b/Filesystem.php @@ -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); }