mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-09 18:04:33 +02:00
Fixed PHPstan issues for level 5.
This commit is contained in:
parent
a9293b7ceb
commit
da72f5b3ec
24 changed files with 87 additions and 49 deletions
|
@ -79,7 +79,7 @@ abstract class Attachment extends NamedDBElement
|
|||
public const ALLOWED_ELEMENT_CLASS = '';
|
||||
|
||||
/**
|
||||
* @var string the original filename the file had, when the user uploaded it
|
||||
* @var string|null the original filename the file had, when the user uploaded it
|
||||
* @ORM\Column(type="string", nullable=true)
|
||||
*/
|
||||
protected $original_filename;
|
||||
|
|
|
@ -43,7 +43,7 @@ abstract class AttachmentContainingDBElement extends NamedDBElement
|
|||
*
|
||||
* Mapping is done in sub classes like part
|
||||
*/
|
||||
protected $attachments = [];
|
||||
protected $attachments;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue