diff --git a/composer.json b/composer.json index acb8b4c..38b9ae1 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ], "require": { "php": ">=5.6.4", - "illuminate/database": "5.3.*|5.4.*" + "illuminate/database": "5.3.*|5.4.*|5.5.*" }, "require-dev": { "crysalead/kahlan": "~1.1" diff --git a/src/Hookable.php b/src/Hookable.php index 0fff197..94483cd 100644 --- a/src/Hookable.php +++ b/src/Hookable.php @@ -144,7 +144,7 @@ public function save(array $options = []) */ public function isDirty($attributes = null) { - if (! is_array($attributes) && !is_null($attributes)) { + if (! is_array($attributes)) { $attributes = func_get_args(); }