Skip to content

Commit

Permalink
Added check for sub-paths before collections removal in CollectionPer…
Browse files Browse the repository at this point in the history
…sister::deleteAll. Fixed style of code.
  • Loading branch information
watari committed Oct 19, 2018
1 parent 8c5c56c commit d1c9dc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ private function executeQuery(object $document, array $newObj, array $options) :
}
}

private function excludeSubPaths(array $paths)
private function excludeSubPaths(array $paths) : array
{
$checkedPaths = [];
$pathsAmount = count($paths);
Expand Down

0 comments on commit d1c9dc5

Please sign in to comment.