Fixed some inspection issues.

This commit is contained in:
Jan Böhmer 2019-09-16 22:04:59 +02:00
parent f7c2f1032f
commit 21a81486df
24 changed files with 64 additions and 84 deletions

View file

@ -52,7 +52,7 @@ class PartAttachment extends Attachment
public function setElement(AttachmentContainingDBElement $element): Attachment
{
if (!$element instanceof Part) {
throw new \InvalidArgumentException("The element associated with a PartAttachment must be a Part!");
throw new \InvalidArgumentException('The element associated with a PartAttachment must be a Part!');
}
$this->element = $element;