mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
Add some method annotators, see if this helps with Scrutinizer issues.
This commit is contained in:
@@ -166,7 +166,7 @@ class AttachmentHelper implements AttachmentHelperInterface
|
||||
$attachment->md5 = md5_file($path);
|
||||
$attachment->mime = $mime;
|
||||
$attachment->size = \strlen($content);
|
||||
$attachment->uploaded = 1;
|
||||
$attachment->uploaded = true;
|
||||
$attachment->save();
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user