We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c4b61c0 + 2c013a7 commit cd226e0Copy full SHA for cd226e0
src/ValueObject/AbstractFile.php
@@ -239,7 +239,7 @@ public function setPendingDeletion($isPendingDeletion): void
239
*/
240
public function isPendingDeletion(): bool
241
{
242
- return \strlen($this->oldFileName) > 0 && $this->fileName === null;
+ return !empty($this->oldFileName) && $this->fileName === null;
243
}
244
245
public function jsonSerialize(): string
0 commit comments