Some PHP 7.1 compatible code.

This commit is contained in:
James Cole
2017-07-23 19:06:24 +02:00
parent 05e73344eb
commit 7b03b0c5fc
12 changed files with 15 additions and 14 deletions

View File

@@ -55,6 +55,6 @@ interface AttachmentHelperInterface
*
* @return bool
*/
public function saveAttachmentsForModel(Model $model, array $files = null): bool;
public function saveAttachmentsForModel(Model $model, ?array $files): bool;
}