Skip to content

Commit

Permalink
Remove unnecessary ->toArray()
Browse files Browse the repository at this point in the history
  • Loading branch information
milewski authored Feb 25, 2021
1 parent 9800f63 commit a7e0582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HasConditionalContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ private function findAllContainers($fields): Collection

if ($field instanceof JsonWrapper) {

return $this->findAllContainers($field->fields->toArray());
return $this->findAllContainers($field->fields);

}

Expand Down

0 comments on commit a7e0582

Please sign in to comment.