Framework Update

This commit is contained in:
2024-01-31 22:15:08 +08:00
parent b5ff5e8b5f
commit 20678a6a0c
1459 changed files with 25954 additions and 16153 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ trait Batchable
/**
* The fake batch, if applicable.
*
* @var \Illuminate\Support\Testing\BatchFake
* @var \Illuminate\Support\Testing\Fakes\BatchFake
*/
private $fakeBatch;
@@ -77,7 +77,7 @@ trait Batchable
* @param \Carbon\CarbonImmutable $createdAt
* @param \Carbon\CarbonImmutable|null $cancelledAt
* @param \Carbon\CarbonImmutable|null $finishedAt
* @return array{0: $this, 1: \Illuminate\Support\Testing\BatchFake}
* @return array{0: $this, 1: \Illuminate\Support\Testing\Fakes\BatchFake}
*/
public function withFakeBatch(string $id = '',
string $name = '',
+1 -1
View File
@@ -263,7 +263,7 @@ class Dispatcher implements QueueingDispatcher
public function dispatchAfterResponse($command, $handler = null)
{
$this->container->terminating(function () use ($command, $handler) {
$this->dispatchNow($command, $handler);
$this->dispatchSync($command, $handler);
});
}