inspection fixes

This commit is contained in:
Dennis Eichhorn 2019-02-09 19:42:23 +01:00
parent 804b9429d6
commit 79f8da0ba6

View File

@ -85,7 +85,7 @@ class Installer extends InstallerAbstract
$navElement = new NavElement();
$navElement->id = (int) ($data['id'] ?? 0);
$navElement->pid = (string) (\sha1(\str_replace('/', '', $data['pid'] ?? '')));
$navElement->pid = \sha1(\str_replace('/', '', $data['pid'] ?? ''));
$navElement->name = (string) ($data['name'] ?? '');
$navElement->type = (int) ($data['type'] ?? 1);
$navElement->subtype = (int) ($data['subtype'] ?? 2);