Skip to content

Commit b0482d1

Browse files
authored
Missing return (#46232)
Missing return
1 parent 39f28e8 commit b0482d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Support/Facades/Queue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static function popUsing($workerName, $callback)
7676
*/
7777
public static function fake($jobsToFake = [])
7878
{
79-
tap(new QueueFake(static::getFacadeApplication(), $jobsToFake, static::getFacadeRoot()), function ($fake) {
79+
return tap(new QueueFake(static::getFacadeApplication(), $jobsToFake, static::getFacadeRoot()), function ($fake) {
8080
if (! static::isFake()) {
8181
static::swap($fake);
8282
}

0 commit comments

Comments
 (0)