Skip to content

Commit

Permalink
Fix code smell.
Browse files Browse the repository at this point in the history
  • Loading branch information
guncha25 committed Sep 27, 2019
1 parent 198ad57 commit 282b27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Task/ConfigurableTaskTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public static function getPaths(ContextInterface $context, array $config, bool $
*/
public static function cleanupDirs(array &$dirs) {
foreach ($dirs as $index => $path) {
if (realpath($path) == FALSE) {
if (!(bool) realpath($path)) {
unset($dirs[$index]);
}
}
Expand Down

0 comments on commit 282b27b

Please sign in to comment.