Skip to content

Commit 8dc0770

Browse files
committed
修正属性冲突
1 parent c6ffb0c commit 8dc0770

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/queue/job/Sync.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ class Sync extends Job
2121
*
2222
* @var string
2323
*/
24-
protected $payload;
24+
protected $job;
2525

26-
public function __construct(App $app, $payload, $connection, $queue)
26+
public function __construct(App $app, $job, $connection, $queue)
2727
{
2828
$this->app = $app;
2929
$this->connection = $connection;
3030
$this->queue = $queue;
31-
$this->payload = $payload;
31+
$this->job = $job;
3232
}
3333

3434
/**
@@ -46,7 +46,7 @@ public function attempts()
4646
*/
4747
public function getRawBody()
4848
{
49-
return $this->payload;
49+
return $this->job;
5050
}
5151

5252
/**

0 commit comments

Comments
 (0)