Skip to content

Commit b63ee45

Browse files
authored
[12.x] Add missing docblock param in FailedOver event docblocks (#58123)
* CacheFailedOver * Update QueueFailedOver.php
1 parent e137d50 commit b63ee45

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/Illuminate/Cache/Events/CacheFailedOver.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ class CacheFailedOver
99
/**
1010
* Create a new event instance.
1111
*
12-
* @param string $storeName The name of the cache store that failed.
12+
* @param string|null $storeName The name of the cache store that failed.
13+
* @param Throwable $exception The exception that was thrown.
1314
*/
1415
public function __construct(
1516
public ?string $storeName,

src/Illuminate/Queue/Events/QueueFailedOver.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ class QueueFailedOver
99
/**
1010
* Create a new event instance.
1111
*
12-
* @param string $connectionName The queue connection that failed.
13-
* @param \Closure|string|object $job The job instance.
12+
* @param string|null $connectionName The queue connection that failed.
13+
* @param \Closure|string|object $command The job instance.
14+
* @param Throwable $exception The exception that was thrown.
1415
*/
1516
public function __construct(
1617
public ?string $connectionName,

0 commit comments

Comments
 (0)