mirror of
https://github.com/idanoo/laravel-resque.git
synced 2025-07-02 19:42:15 +00:00
Refactor
This commit is contained in:
parent
175123695d
commit
9e7b3a658e
9 changed files with 215 additions and 203 deletions
10
src/Job.php
10
src/Job.php
|
@ -36,7 +36,15 @@ abstract class Job
|
|||
*/
|
||||
public function arguments()
|
||||
{
|
||||
return $this->$args;
|
||||
return $this->args;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function name()
|
||||
{
|
||||
return \get_class($this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue