mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-01-18 23:48:42 +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('description') ?? ''),
|
||||
$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('description') ?? ''),
|
||||
$files,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user