From 85993f89509f793206740e7440e08f8caf9eff6e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 5 Mar 2020 21:01:09 +0100 Subject: [PATCH] fix minor construct bugs --- Models/NullAccount.php | 1 + Models/NullAccountPermission.php | 1 + Models/NullGroup.php | 1 + Models/NullGroupPermission.php | 1 + 4 files changed, 4 insertions(+) diff --git a/Models/NullAccount.php b/Models/NullAccount.php index cf9c2c3..81faeef 100644 --- a/Models/NullAccount.php +++ b/Models/NullAccount.php @@ -34,5 +34,6 @@ final class NullAccount extends Account public function __construct(int $id = 0) { $this->id = $id; + parent::__construct(); } } diff --git a/Models/NullAccountPermission.php b/Models/NullAccountPermission.php index 266267b..3765a86 100644 --- a/Models/NullAccountPermission.php +++ b/Models/NullAccountPermission.php @@ -34,5 +34,6 @@ final class NullAccountPermission extends AccountPermission public function __construct(int $id = 0) { $this->id = $id; + parent::__construct(); } } diff --git a/Models/NullGroup.php b/Models/NullGroup.php index a8e3125..cbce80b 100644 --- a/Models/NullGroup.php +++ b/Models/NullGroup.php @@ -34,5 +34,6 @@ final class NullGroup extends Group public function __construct(int $id = 0) { $this->id = $id; + parent::__construct(); } } diff --git a/Models/NullGroupPermission.php b/Models/NullGroupPermission.php index 49b6615..c468bc8 100644 --- a/Models/NullGroupPermission.php +++ b/Models/NullGroupPermission.php @@ -34,5 +34,6 @@ final class NullGroupPermission extends GroupPermission public function __construct(int $id = 0) { $this->id = $id; + parent::__construct(); } }