diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 6c360af..b7c5dc6 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -473,7 +473,6 @@ final class BackendController extends Controller $view->data['units'] = UnitMapper::getAll() ->execute(); - /** @var \Modules\Attribute\Models\AttributeType[] */ $view->data['attributeTypes'] = VehicleAttributeTypeMapper::getAll() ->with('l11n') ->where('l11n/language', $response->header->l11n->language) @@ -552,7 +551,6 @@ final class BackendController extends Controller ->limit(1) ->execute(); - /** @var \Modules\Attribute\Models\AttributeType[] */ $view->data['attributeTypes'] = DriverAttributeTypeMapper::getAll() ->with('l11n') ->where('l11n/language', $response->header->l11n->language) diff --git a/Models/Driver/Driver.php b/Models/Driver/Driver.php index 60c5a41..13a79b6 100644 --- a/Models/Driver/Driver.php +++ b/Models/Driver/Driver.php @@ -55,6 +55,11 @@ class Driver public array $inspections = []; + /** + * Constructor. + * + * @since 1.0.0 + */ public function __construct() { $this->account = new NullAccount(); diff --git a/Theme/Backend/Lang/de.lang.php b/Theme/Backend/Lang/de.lang.php index 9ea4a3d..f2422ab 100755 --- a/Theme/Backend/Lang/de.lang.php +++ b/Theme/Backend/Lang/de.lang.php @@ -40,7 +40,7 @@ return ['FleetManagement' => [ 'Responsible' => 'Verantwortlich', 'Start' => 'Start', 'Status' => 'Status', - 'VIN' => 'VIN', + 'VIN' => 'VIN', 'Type' => 'Typ', 'Upcoming' => 'Upcoming', 'Vehicles' => 'Fahrzeuge', diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index 77623dc..2a6992d 100755 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -40,7 +40,7 @@ return ['FleetManagement' => [ 'Responsible' => 'Responsible', 'Start' => 'Start', 'Status' => 'Status', - 'VIN' => 'VIN', + 'VIN' => 'VIN', 'Type' => 'Type', 'Upcoming' => 'Upcoming', 'Vehicles' => 'Vehicles', diff --git a/Theme/Backend/inspection-list.tpl.php b/Theme/Backend/inspection-list.tpl.php index 5a570c2..1f400bf 100644 --- a/Theme/Backend/inspection-list.tpl.php +++ b/Theme/Backend/inspection-list.tpl.php @@ -12,6 +12,4 @@ */ declare(strict_types=1); -use phpOMS\Uri\UriFactory; - -echo $this->data['nav']->render(); ?> \ No newline at end of file +echo $this->data['nav']->render(); diff --git a/Theme/Backend/inspection-type-list.tpl.php b/Theme/Backend/inspection-type-list.tpl.php index 5a570c2..1f400bf 100644 --- a/Theme/Backend/inspection-type-list.tpl.php +++ b/Theme/Backend/inspection-type-list.tpl.php @@ -12,6 +12,4 @@ */ declare(strict_types=1); -use phpOMS\Uri\UriFactory; - -echo $this->data['nav']->render(); ?> \ No newline at end of file +echo $this->data['nav']->render();