mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Fix phpstan issues.
This commit is contained in:
@@ -206,7 +206,7 @@ class AttachmentHelper implements AttachmentHelperInterface
|
||||
Log::debug(sprintf('Now in saveAttachmentsForModel for model %s', get_class($model)));
|
||||
if (is_array($files)) {
|
||||
Log::debug('$files is an array.');
|
||||
/** @var UploadedFile $entry */
|
||||
/** @var UploadedFile|null $entry */
|
||||
foreach ($files as $entry) {
|
||||
if (null !== $entry) {
|
||||
$this->processFile($entry, $model);
|
||||
|
Reference in New Issue
Block a user