Skip to content

Commit

Permalink
Fix scrutinizer issue on Tree::$tree
Browse files Browse the repository at this point in the history
It seems like null of type null is incompatible with the declared type array of property $tree
  • Loading branch information
bulton-fr committed Nov 12, 2016
1 parent 9460fba commit f94df3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tree.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public function generateOrderFromDependencies()
}

//Reinit the tree for use the main system of tree generator.
$this->tree = null;
$this->tree = [];
}

/**
Expand Down

0 comments on commit f94df3d

Please sign in to comment.