diff --git a/Controller/Controller.php b/Controller/Controller.php index 9961b3c..5d48f4f 100644 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -67,7 +67,7 @@ class Controller extends ModuleAbstract implements WebInterface * @var string[] * @since 1.0.0 */ - protected static $providing = [ + protected static array $providing = [ ]; /** @@ -76,5 +76,5 @@ class Controller extends ModuleAbstract implements WebInterface * @var string[] * @since 1.0.0 */ - protected static $dependencies = []; + protected static array $dependencies = []; } diff --git a/Models/NavElementMapper.php b/Models/NavElementMapper.php index fb25a91..3c05530 100644 --- a/Models/NavElementMapper.php +++ b/Models/NavElementMapper.php @@ -33,7 +33,7 @@ final class NavElementMapper extends DataMapperAbstract * @var array> * @since 1.0.0 */ - protected static $columns = [ + protected static array $columns = [ 'nav_id' => ['name' => 'nav_id', 'type' => 'int', 'internal' => 'id'], 'nav_pid' => ['name' => 'nav_pid', 'type' => 'string', 'internal' => 'pid'], 'nav_name' => ['name' => 'nav_name', 'type' => 'string', 'internal' => 'name'], @@ -56,7 +56,7 @@ final class NavElementMapper extends DataMapperAbstract * @var string * @since 1.0.0 */ - protected static $table = 'nav'; + protected static string $table = 'nav'; /** * Primary field name. @@ -64,5 +64,5 @@ final class NavElementMapper extends DataMapperAbstract * @var string * @since 1.0.0 */ - protected static $primaryField = 'nav_id'; + protected static string $primaryField = 'nav_id'; }