mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-02-09 09:58:40 +00:00
fix bugs, phpstan, phpcs
This commit is contained in:
parent
1baad01b5f
commit
21b5e9d67e
|
|
@ -256,7 +256,7 @@ final class ApiController extends Controller
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$collection = $this->app->moduleManager->get('Media')->createMediaCollectionFromMedia(
|
$collection = $this->app->moduleManager->get('Media')->createMediaCollectionFromMedia(
|
||||||
(string) ($request->getData('name') ?? ''),
|
(string) ($request->getData('name') ?? ''),
|
||||||
(string) ($request->getData('description') ?? ''),
|
(string) ($request->getData('description') ?? ''),
|
||||||
$files,
|
$files,
|
||||||
|
|
@ -345,7 +345,7 @@ final class ApiController extends Controller
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
|
|
||||||
$collection = $this->app->moduleManager->get('Media')->createMediaCollectionFromMedia(
|
$collection = $this->app->moduleManager->get('Media')->createMediaCollectionFromMedia(
|
||||||
(string) ($request->getData('name') ?? ''),
|
(string) ($request->getData('name') ?? ''),
|
||||||
(string) ($request->getData('description') ?? ''),
|
(string) ($request->getData('description') ?? ''),
|
||||||
$files,
|
$files,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user