From 6bcc6c27279db35c66caf963ab201f1f91ea2924 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 5 Mar 2020 20:35:58 +0100 Subject: [PATCH] fixes Orange-Management/phpOMS#224 and fixes Orange-Management/phpOMS#212 --- Models/NullProfile.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Models/NullProfile.php b/Models/NullProfile.php index 2d9bff6..8531373 100644 --- a/Models/NullProfile.php +++ b/Models/NullProfile.php @@ -24,4 +24,15 @@ namespace Modules\Profile\Models; */ final class NullProfile extends Profile { + /** + * Constructor + * + * @param int $id Model id + * + * @since 1.0.0 + */ + public function __construct(int $id = 0) + { + $this->id = $id; + } }