Merge branch 'develop' into trunk

This commit is contained in:
Noah Lancien 2024-11-19 12:04:20 +01:00
commit 4af9251ccc

View file

@ -101,11 +101,11 @@ class MailContactData extends Model
'consumptionDateYear' => '0000',
];
public function __construct(array $attributes = [], string $filePath = '')
public function __construct(array $attributes = [], string|null $filePath = '')
{
parent::__construct($attributes);
$this->joinFile = self::getFileName($filePath);
$this->joinFile = self::getFileName($filePath ?? '');
}
/**