mirror of
https://github.com/Karaka-Management/oms-Knowledgebase.git
synced 2026-02-15 01:38:39 +00:00
autofixes
This commit is contained in:
parent
8dd313c3fb
commit
c9b37aba18
|
|
@ -265,7 +265,8 @@ final class BackendController extends Controller
|
||||||
->where('unit', [$this->app->unitId, null])
|
->where('unit', [$this->app->unitId, null])
|
||||||
->executeGetArray();
|
->executeGetArray();
|
||||||
|
|
||||||
$appIds = \array_map(function (WikiApp $app) { return $app->id; }, $view->data['apps']);
|
$appIds = \array_map(function (WikiApp $app) { return $app->id;
|
||||||
|
}, $view->data['apps']);
|
||||||
$appIds = \array_unique($appIds);
|
$appIds = \array_unique($appIds);
|
||||||
|
|
||||||
$view->data['parents'] = WikiCategoryMapper::getAll()
|
$view->data['parents'] = WikiCategoryMapper::getAll()
|
||||||
|
|
@ -301,7 +302,8 @@ final class BackendController extends Controller
|
||||||
->where('unit', [$this->app->unitId, null])
|
->where('unit', [$this->app->unitId, null])
|
||||||
->executeGetArray();
|
->executeGetArray();
|
||||||
|
|
||||||
$appIds = \array_map(function (WikiApp $app) { return $app->id; }, $view->data['apps']);
|
$appIds = \array_map(function (WikiApp $app) { return $app->id;
|
||||||
|
}, $view->data['apps']);
|
||||||
$appIds = \array_unique($appIds);
|
$appIds = \array_unique($appIds);
|
||||||
|
|
||||||
$view->data['parents'] = WikiCategoryMapper::getAll()
|
$view->data['parents'] = WikiCategoryMapper::getAll()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user