Skip to content

Commit a7e0582

Browse files
authored
Remove unnecessary ->toArray()
1 parent 9800f63 commit a7e0582

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HasConditionalContainer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ private function findAllContainers($fields): Collection
331331

332332
if ($field instanceof JsonWrapper) {
333333

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

336336
}
337337

0 commit comments

Comments
 (0)