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.
1 parent e7dd748 commit 20d923dCopy full SHA for 20d923d
stubs/service_with_trait.blade.php
@@ -24,7 +24,7 @@ public function __construct()
24
$this->setModel({{$entity}}::class);
25
}
26
27
- public function search($filters): LengthAwarePaginator
+ public function search(array $filters = []): LengthAwarePaginator
28
{
29
return $this
30
->searchQuery($filters)
tests/fixtures/ServiceGeneratorTest/service_with_trait.php
@@ -18,7 +18,7 @@ public function __construct()
18
$this->setModel(Post::class);
19
20
21
22
23
0 commit comments