diff --git a/Controller/Controller.php b/Controller/Controller.php index f38b1ce..f386ffd 100644 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -30,7 +30,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module path. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_PATH = __DIR__ . '/../'; @@ -38,7 +38,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module version. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_VERSION = '1.0.0'; @@ -46,7 +46,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module name. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_NAME = 'News'; @@ -54,7 +54,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module id. * - * @var int + * @var int * @since 1.0.0 */ public const MODULE_ID = 1000600000; @@ -62,7 +62,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Providing. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $providing = []; @@ -70,7 +70,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Dependencies. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $dependencies = []; diff --git a/Models/NewsArticle.php b/Models/NewsArticle.php index 0a1a195..ac00930 100644 --- a/Models/NewsArticle.php +++ b/Models/NewsArticle.php @@ -31,7 +31,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable /** * Article ID. * - * @var int + * @var int * @since 1.0.0 */ private int $id = 0; @@ -39,7 +39,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable /** * Title. * - * @var string + * @var string * @since 1.0.0 */ private string $title = ''; @@ -47,7 +47,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable /** * Content. * - * @var string + * @var string * @since 1.0.0 */ private string $content = ''; @@ -55,7 +55,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable /** * Unparsed. * - * @var string + * @var string * @since 1.0.0 */ private string $plain = ''; @@ -63,7 +63,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable /** * News type. * - * @var int + * @var int * @since 1.0.0 */ private int $type = NewsType::ARTICLE; @@ -71,7 +71,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable /** * News status. * - * @var int + * @var int * @since 1.0.0 */ private int $status = NewsStatus::DRAFT; @@ -79,7 +79,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable /** * Language. * - * @var string + * @var string * @since 1.0.0 */ private string $language = ISO639x1Enum::_EN; @@ -87,7 +87,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable /** * Created. * - * @var \DateTime + * @var \DateTime * @since 1.0.0 */ private \DateTime $createdAt; @@ -95,7 +95,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable /** * Creator. * - * @var int + * @var int * @since 1.0.0 */ private $createdBy = 0; @@ -103,7 +103,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable /** * Publish. * - * @var \DateTime + * @var \DateTime * @since 1.0.0 */ private \DateTime $publish; @@ -111,7 +111,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable /** * Featured. * - * @var bool + * @var bool * @since 1.0.0 */ private bool $featured = false; @@ -119,7 +119,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable /** * Badge. * - * @var array + * @var array * @since 1.0.0 */ private array $badges = []; diff --git a/Models/NewsArticleMapper.php b/Models/NewsArticleMapper.php index bc95324..fbc9af3 100644 --- a/Models/NewsArticleMapper.php +++ b/Models/NewsArticleMapper.php @@ -30,7 +30,7 @@ final class NewsArticleMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -50,7 +50,7 @@ final class NewsArticleMapper extends DataMapperAbstract /** * Belongs to. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $belongsTo = [ @@ -63,7 +63,7 @@ final class NewsArticleMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'news'; @@ -71,7 +71,7 @@ final class NewsArticleMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'news_id'; @@ -79,7 +79,7 @@ final class NewsArticleMapper extends DataMapperAbstract /** * Created at. * - * @var string + * @var string * @since 1.0.0 */ protected static string $createdAt = 'news_created_at';