mirror of
https://github.com/Karaka-Management/oms-Knowledgebase.git
synced 2026-01-11 17:38:40 +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])
|
||||
->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);
|
||||
|
||||
$view->data['parents'] = WikiCategoryMapper::getAll()
|
||||
|
|
@ -301,7 +302,8 @@ final class BackendController extends Controller
|
|||
->where('unit', [$this->app->unitId, null])
|
||||
->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);
|
||||
|
||||
$view->data['parents'] = WikiCategoryMapper::getAll()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user