diff --git a/src/Support/Transformer.php b/src/Support/Transformer.php index 509ca09..d0f3bd1 100644 --- a/src/Support/Transformer.php +++ b/src/Support/Transformer.php @@ -73,9 +73,7 @@ public function handle($instance) */ public function withOptions(array $options = []) { - $defaults = ['includes' => [], 'excludes' => []]; - - $this->options = array_merge($defaults, $options); + $this->options = $options; foreach ($this->meta as $name) { $this->filterMetaType($name);