From 8f1c37e0da0ac2ccd2eed296e0b8044e6facbfd7 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/NullCollection.php | 1 + Models/NullMedia.php | 1 + 2 files changed, 2 insertions(+) diff --git a/Models/NullCollection.php b/Models/NullCollection.php index 31a1b12..c92d14e 100644 --- a/Models/NullCollection.php +++ b/Models/NullCollection.php @@ -34,5 +34,6 @@ final class NullCollection extends Collection public function __construct(int $id = 0) { $this->id = $id; + parent::__construct(); } } diff --git a/Models/NullMedia.php b/Models/NullMedia.php index 2ab29e5..159e55c 100644 --- a/Models/NullMedia.php +++ b/Models/NullMedia.php @@ -34,5 +34,6 @@ final class NullMedia extends Media public function __construct(int $id = 0) { $this->id = $id; + parent::__construct(); } }