diff --git a/Controller/Controller.php b/Controller/Controller.php index 29c904f..58354c5 100644 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -66,7 +66,7 @@ class Controller extends ModuleAbstract implements WebInterface * @var string[] * @since 1.0.0 */ - protected static $providing = []; + protected static array $providing = []; /** * Dependencies. @@ -74,7 +74,7 @@ class Controller extends ModuleAbstract implements WebInterface * @var string[] * @since 1.0.0 */ - protected static $dependencies = [ + protected static array $dependencies = [ 'Media', ]; } diff --git a/Models/BatchPosting.php b/Models/BatchPosting.php index bda3ca0..dfae6d4 100644 --- a/Models/BatchPosting.php +++ b/Models/BatchPosting.php @@ -44,7 +44,7 @@ class BatchPosting implements \Countable /** * Created. * - * @var \DateTime + * @var null|\DateTime * @since 1.0.0 */ private $created = null;