Skip to content

Commit f4c58b4

Browse files
Merge branch '4.1'
* 4.1: [DependencyInjection] Fix tags on multiple decorated service fix merge SCA: reverted code style changes SCA: reverted code style changes SCA: applied requested code style changes SCA: simplify some ifs in favour of null coalescing operator
2 parents 0fee23f + fd7bd65 commit f4c58b4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Filesystem.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -557,10 +557,7 @@ public function mirror($originDir, $targetDir, \Traversable $iterator = null, $o
557557
}
558558
}
559559

560-
$copyOnWindows = false;
561-
if (isset($options['copy_on_windows'])) {
562-
$copyOnWindows = $options['copy_on_windows'];
563-
}
560+
$copyOnWindows = $options['copy_on_windows'] ?? false;
564561

565562
if (null === $iterator) {
566563
$flags = $copyOnWindows ? \FilesystemIterator::SKIP_DOTS | \FilesystemIterator::FOLLOW_SYMLINKS : \FilesystemIterator::SKIP_DOTS;

0 commit comments

Comments
 (0)