Add some method annotators, see if this helps with Scrutinizer issues.

This commit is contained in:
James Cole
2018-07-14 23:04:05 +02:00
parent c424bb097d
commit 5dad569d62
9 changed files with 38 additions and 17 deletions

View File

@@ -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;