Skip to content

Commit d6a08be

Browse files
authored
[Fix] Builder callback property type (#421)
1 parent c82fb3d commit d6a08be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Builder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Builder
2828
/**
2929
* Optional callback before search execution.
3030
*
31-
* @var string
31+
* @var \Closure|null
3232
*/
3333
public $callback;
3434

@@ -72,7 +72,7 @@ class Builder
7272
*
7373
* @param \Illuminate\Database\Eloquent\Model $model
7474
* @param string $query
75-
* @param \Closure $callback
75+
* @param \Closure|null $callback
7676
* @param bool $softDelete
7777
* @return void
7878
*/

0 commit comments

Comments
 (0)