diff --git a/src/Franzose/ClosureTable/Models/Entity.php b/src/Franzose/ClosureTable/Models/Entity.php index 25b93a7..f94835d 100644 --- a/src/Franzose/ClosureTable/Models/Entity.php +++ b/src/Franzose/ClosureTable/Models/Entity.php @@ -1255,7 +1255,7 @@ protected function getNewRealDepth($ancestor) * * @return bool */ - protected function performInsert(EloquentBuilder $query, array $options) + protected function performInsert(EloquentBuilder $query, array $options = []) { if ($this->isMoved === false) { @@ -1274,7 +1274,7 @@ protected function performInsert(EloquentBuilder $query, array $options) * * @return bool */ - protected function performUpdate(EloquentBuilder $query, array $options) + protected function performUpdate(EloquentBuilder $query, array $options = []) { if (parent::performUpdate($query, $options)) {