Skip to content

Commit 678f8b6

Browse files
fix: incorrect use of generics in Schema\Builder (#55687)
Co-authored-by: Taylor Otwell <[email protected]>
1 parent 76cee6b commit 678f8b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Database/Schema/Builder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Builder
3030
/**
3131
* The Blueprint resolver callback.
3232
*
33-
* @var \Closure
33+
* @var \Closure(string, \Closure, string): \Illuminate\Database\Schema\Blueprint|null
3434
*/
3535
protected $resolver;
3636

@@ -698,7 +698,7 @@ public function getConnection()
698698
/**
699699
* Set the Schema Blueprint resolver callback.
700700
*
701-
* @param \Closure $resolver
701+
* @param \Closure(string, \Closure, string): \Illuminate\Database\Schema\Blueprint|null $resolver
702702
* @return void
703703
*/
704704
public function blueprintResolver(Closure $resolver)

0 commit comments

Comments
 (0)