Skip to content

Commit

Permalink
Revert merging defaults.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Apr 13, 2017
1 parent 122fcd7 commit b4621b0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Support/Transformer.php
Expand Up @@ -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);
Expand Down

0 comments on commit b4621b0

Please sign in to comment.