Some code cleanup

This commit is contained in:
James Cole 2024-03-16 06:28:21 +01:00
parent 060c9648f1
commit 441a8a8408
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
3 changed files with 181 additions and 180 deletions

View File

@ -237,6 +237,7 @@ class AttachmentHelper implements AttachmentHelperInterface
if (0 === $file->getSize()) {
$this->errors->add('attachments', trans('validation.file_zero_length'));
return null;
}