diff options
-rw-r--r-- | src/Entities/CategoryEntity.php | 12 | ||||
-rw-r--r-- | src/Entities/GenreEntity.php | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/src/Entities/CategoryEntity.php b/src/Entities/CategoryEntity.php index ab1f431..af44434 100644 --- a/src/Entities/CategoryEntity.php +++ b/src/Entities/CategoryEntity.php @@ -33,26 +33,26 @@ use function is_string; * @license http://www.apache.org/licenses/LICENSE-2.0 * @package EPGService\Entities */ -class CategoryEntity { +final class CategoryEntity { /** * @var int */ - protected int $id; + private int $id; /** * @var string */ - protected string $lang; + private string $lang; /** * @var string */ - protected string $name; + private string $name; /** * @var string */ - protected string $version; + private string $version; /** * @param int $id @@ -60,7 +60,7 @@ class CategoryEntity { * @param string $name * @param string $version */ - protected function __construct(int $id, string $lang, string $name, string $version) { + private function __construct(int $id, string $lang, string $name, string $version) { $this->id = $id; $this->lang = $lang; $this->name = $name; diff --git a/src/Entities/GenreEntity.php b/src/Entities/GenreEntity.php index 78a9ac0..61e11ba 100644 --- a/src/Entities/GenreEntity.php +++ b/src/Entities/GenreEntity.php @@ -33,26 +33,26 @@ use function is_string; * @license http://www.apache.org/licenses/LICENSE-2.0 * @package EPGService\Entities */ -class GenreEntity { +final class GenreEntity { /** * @var int */ - protected int $id; + private int $id; /** * @var string */ - protected string $lang; + private string $lang; /** * @var string */ - protected string $name; + private string $name; /** * @var string */ - protected string $version; + private string $version; /** * @param int $id @@ -60,7 +60,7 @@ class GenreEntity { * @param string $name * @param string $version */ - protected function __construct(int $id, string $lang, string $name, string $version) { + private function __construct(int $id, string $lang, string $name, string $version) { $this->id = $id; $this->lang = $lang; $this->name = $name; |