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 81de821 commit f7508e6Copy full SHA for f7508e6
src/Illuminate/Database/Concerns/BuildsQueries.php
@@ -79,8 +79,8 @@ public function first($columns = ['*'])
79
* Apply the callback's query changes if the given "value" is true.
80
*
81
* @param mixed $value
82
- * @param \Closure $callback
83
- * @param \Closure $default
+ * @param callable $callback
+ * @param callable $default
84
* @return mixed
85
*/
86
public function when($value, $callback, $default = null)
0 commit comments