@@ -34,7 +34,7 @@ |
||
| 34 | 34 | abstract protected function run(); |
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | - * @return string |
|
| 37 | + * @return JobName |
|
| 38 | 38 | */ |
| 39 | 39 | public function getJobName() |
| 40 | 40 | { |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | * JobName constructor. |
| 25 | 25 | * @param string $name |
| 26 | 26 | * @param string $prefix |
| 27 | - * @param string $separator |
|
| 28 | 27 | */ |
| 29 | 28 | public function __construct($name, $prefix) |
| 30 | 29 | { |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: polidog |
|
| 5 | - * Date: 2016/03/14 |
|
| 6 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: polidog |
|
| 5 | + * Date: 2016/03/14 |
|
| 6 | + */ |
|
| 7 | 7 | |
| 8 | 8 | namespace Tavii\SQSJobQueue\Job; |
| 9 | 9 | |
@@ -40,6 +40,6 @@ |
||
| 40 | 40 | if (empty($this->prefix)) { |
| 41 | 41 | return $this->name; |
| 42 | 42 | } |
| 43 | - return $this->prefix . "_" . $this->name; |
|
| 43 | + return $this->prefix."_".$this->name; |
|
| 44 | 44 | } |
| 45 | 45 | } |
| 46 | 46 | \ No newline at end of file |
@@ -26,7 +26,6 @@ discard block |
||
| 26 | 26 | * @param JobName $jobName |
| 27 | 27 | * @param string $server |
| 28 | 28 | * @param int $procId |
| 29 | - * @param string $prefix |
|
| 30 | 29 | * @return void |
| 31 | 30 | */ |
| 32 | 31 | public function set(JobName $jobName, $server, $procId); |
@@ -35,7 +34,6 @@ discard block |
||
| 35 | 34 | * @param JobName $jobName |
| 36 | 35 | * @param string $server |
| 37 | 36 | * @param int $procId |
| 38 | - * @param string $prefix |
|
| 39 | 37 | * @return array |
| 40 | 38 | */ |
| 41 | 39 | public function get(JobName $jobName, $server, $procId); |
@@ -44,7 +42,6 @@ discard block |
||
| 44 | 42 | * @param JobName $jobName |
| 45 | 43 | * @param string $server |
| 46 | 44 | * @param string $procId |
| 47 | - * @param string $prefix |
|
| 48 | 45 | * @return mixed |
| 49 | 46 | */ |
| 50 | 47 | public function remove(JobName $jobName, $server, $procId); |
@@ -52,7 +49,7 @@ discard block |
||
| 52 | 49 | |
| 53 | 50 | /** |
| 54 | 51 | * @param JobName $jobName |
| 55 | - * @param $server |
|
| 52 | + * @param string $server |
|
| 56 | 53 | * @return void |
| 57 | 54 | */ |
| 58 | 55 | public function removeForce(JobName $jobName, $server); |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: polidog |
|
| 5 | - * Date: 2016/03/14 |
|
| 6 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: polidog |
|
| 5 | + * Date: 2016/03/14 |
|
| 6 | + */ |
|
| 7 | 7 | |
| 8 | 8 | namespace Tavii\SQSJobQueue\Storage; |
| 9 | 9 | |