mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-08 05:28:41 +00:00
Type and cs fixes
This commit is contained in:
parent
ec92b39f57
commit
ba91353901
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user