Type and cs fixes

This commit is contained in:
Dennis Eichhorn 2020-03-07 00:23:17 +01:00
parent ec92b39f57
commit ba91353901
2 changed files with 2 additions and 2 deletions

View File

@ -353,7 +353,7 @@ final class ApiController extends Controller
$mediaCollection->setName($name);
$mediaCollection->setDescription(Markdown::parse($description));
$mediaCollection->setDescriptionRaw($description);
$mediaCollection->setCreatedBy($account);
$mediaCollection->setCreatedBy(new NullAccount($account));
$mediaCollection->setSources($media);
$mediaCollection->setVirtualPath('/Modules/Helper');
$mediaCollection->setPath('/Modules/Helper');

View File

@ -27,7 +27,7 @@ final class CollectionMapper extends MediaMapper
/**
* Has many relation.
*
* @var array<string, array{mapper:string, table:string, self?:?string, external?:?string}>
* @var array<string, array{mapper:string, table:string, self?:?string, external?:?string, column?:string}>
* @since 1.0.0
*/
protected static array $hasMany = [