We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8383bea commit bf16f38Copy full SHA for bf16f38
src/Illuminate/Bus/Events/BatchDispatched.php
@@ -6,21 +6,14 @@
6
7
class BatchDispatched
8
{
9
- /**
10
- * The batch instance.
11
- *
12
- * @var \Illuminate\Bus\Batch
13
- */
14
- public $batch;
15
-
16
/**
17
* Create a new event instance.
18
*
19
- * @param \Illuminate\Bus\Batch $batch
+ * @param \Illuminate\Bus\Batch $batch The batch instance.
20
* @return void
21
*/
22
- public function __construct(Batch $batch)
23
- {
24
- $this->batch = $batch;
+ public function __construct(
+ public Batch $batch,
+ ) {
25
}
26
0 commit comments