Skip to content

Commit 203acad

Browse files
alongoszadamwojs
andcommitted
Simplified LegacyStorageImageFileRowReader::getRow implementation
Co-Authored-By: Adam Wójs <adamwojs@users.noreply.github.com>
1 parent 94ed9ac commit 203acad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bundle/Core/Imagine/VariationPurger/LegacyStorageImageFileRowReader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function getRow(): ?string
4646

4747
$filePath = $this->result->fetchOne();
4848

49-
return $filePath !== false ? $filePath : null;
49+
return $filePath ?: null;
5050
}
5151

5252
/**

0 commit comments

Comments
 (0)