From 9fa37354d95e4ca4b1085d5c9d7accc49655ecc2 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 18 Feb 2018 13:02:47 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/danog/Serializable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/danog/Serializable.php b/src/danog/Serializable.php index ce0a3c2..a0d9195 100644 --- a/src/danog/Serializable.php +++ b/src/danog/Serializable.php @@ -33,7 +33,7 @@ trait Serializable } if (method_exists($this, '__magic_construct')) { $this->__magic_construct(...$params); - } else if (method_exists($this, '___construct')) { + } elseif (method_exists($this, '___construct')) { $this->___construct(...$params); } }