Skip to content

Commit 50fb5cb

Browse files
authored
Align Tap & When method (#33087)
1 parent 9e5226e commit 50fb5cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Database/Concerns/BuildsQueries.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public function when($value, $callback, $default = null)
166166
* Pass the query to a given callback.
167167
*
168168
* @param callable $callback
169-
* @return \Illuminate\Database\Query\Builder
169+
* @return $this
170170
*/
171171
public function tap($callback)
172172
{

0 commit comments

Comments
 (0)