manual cs fixes

This commit is contained in:
Dennis Eichhorn 2020-09-01 20:57:48 +02:00
parent 1425b7feed
commit 5f0193522b
2 changed files with 15 additions and 14 deletions

View File

@ -50,6 +50,7 @@ final class SearchController extends Controller
{ {
$this->loadLanguage($request, $response, $request->getData('app')); $this->loadLanguage($request, $response, $request->getData('app'));
/** @var \Modules\Navigation\Models\NavElement[] $elements */
$elements = NavElementMapper::getAll(); $elements = NavElementMapper::getAll();
$search = \strtolower(\explode(' ', $request->getData('search'))[1]); $search = \strtolower(\explode(' ', $request->getData('search'))[1]);

View File

@ -24,33 +24,33 @@ namespace Modules\Navigation\Models;
*/ */
class NavElement class NavElement
{ {
public int $id = 0; public int $id = 0;
public string $pid = ''; public string $pid = '';
public string $name = ''; public string $name = '';
public int $type = 1; public int $type = 1;
public int $subtype = 2; public int $subtype = 2;
public ?string $icon = null; public ?string $icon = null;
public ?string $uri = null; public ?string $uri = null;
public string $target = 'self'; public string $target = 'self';
public ?string $action = null; public ?string $action = null;
public string $from = '0'; public string $from = '0';
public int $order = 1; public int $order = 1;
public int $parent = 0; public int $parent = 0;
public ?int $permissionPerm = null; public ?int $permissionPerm = null;
public ?int $permissionType = null; public ?int $permissionType = null;
public ?int $permissionElement = null; public ?int $permissionElement = null;
} }