Skip to content

Commit 9dbb964

Browse files
committed
Changes logical to boolean comparison
1 parent 5b35957 commit 9dbb964

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Processors/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected function initialize(array $settings)
6464

6565
$dir = sprintf('%s%s%s', $dir, date('Y/m'), DIRECTORY_SEPARATOR);
6666

67-
if (!is_dir($dir) and false === mkdir($dir, 0775, true)) {
67+
if (!is_dir($dir) && false === mkdir($dir, 0775, true)) {
6868
// @codeCoverageIgnoreStart
6969
throw new FileProcessorException(self::E_DIRECTORY_NOT_CREATED, [':dir' => $dir]);
7070
// @codeCoverageIgnoreEnd

0 commit comments

Comments
 (0)