We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 67903a8 + 1efa347 commit 447736cCopy full SHA for 447736c
src/NestableCollection.php
@@ -55,7 +55,7 @@ public function nest()
55
// Add empty collection to each items.
56
$collection = $this->each(function ($item) {
57
if (!$item->{$this->childrenName}) {
58
- $item->{$this->childrenName} = App::make('Illuminate\Support\Collection');
+ $item->{$this->childrenName} = app()->make('Illuminate\Support\Collection');
59
}
60
});
61
0 commit comments