Skip to content

Commit 447a5aa

Browse files
committed
wip
1 parent 87f7f2f commit 447a5aa

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/phpstan.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ jobs:
1010
- name: Checkout code
1111
uses: actions/checkout@v4
1212

13+
- name: Setup PHP
14+
uses: shivammathur/setup-php@v2
15+
with:
16+
php-version: '8.2'
17+
1318
- name: Install dependencies
1419
run: composer install --prefer-dist --no-interaction --no-progress
1520

src/Bus.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ public static function assertPendingBatched(callable $callback)
2020
$busFake = app(Dispatcher::class);
2121

2222
PHPUnit::assertTrue(
23-
collect($busFake->dispatchedBatches())->filter(fn ($batch) => $callback(new FluentPendingBatch($busFake, $batch->jobs)))
23+
collect($busFake->dispatchedBatches())
24+
->filter(fn ($batch) =>$callback(new FluentPendingBatch($busFake, $batch->jobs)))
2425
->isNotEmpty(),
2526
"The expected batch was not dispatched."
2627
);

0 commit comments

Comments
 (0)