Skip to content

Commit f7508e6

Browse files
fragkptaylorotwell
authored andcommitted
[5.4] fixed BuildsQueries when docblock (#19396)
* fixed BuildsQueries when docblock * Update BuildsQueries.php
1 parent 81de821 commit f7508e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Database/Concerns/BuildsQueries.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ public function first($columns = ['*'])
7979
* Apply the callback's query changes if the given "value" is true.
8080
*
8181
* @param mixed $value
82-
* @param \Closure $callback
83-
* @param \Closure $default
82+
* @param callable $callback
83+
* @param callable $default
8484
* @return mixed
8585
*/
8686
public function when($value, $callback, $default = null)

0 commit comments

Comments
 (0)