@@ -323,7 +323,7 @@ |
||
| 323 | 323 | $taskDescriptions = JobQueue::getTaskDescriptions(); |
| 324 | 324 | |
| 325 | 325 | $task = $job->getTask(); |
| 326 | - if(isset($taskDescriptions[$task])){ |
|
| 326 | + if (isset($taskDescriptions[$task])) { |
|
| 327 | 327 | $description = $taskDescriptions[$task]; |
| 328 | 328 | } else { |
| 329 | 329 | $description = 'Unknown task'; |
@@ -319,8 +319,8 @@ |
||
| 319 | 319 | * |
| 320 | 320 | * @param string $path The path (relative to the application root) of the file |
| 321 | 321 | */ |
| 322 | - final protected function addJs($path){ |
|
| 323 | - if(in_array($path, $this->extraJs)){ |
|
| 322 | + final protected function addJs($path) { |
|
| 323 | + if (in_array($path, $this->extraJs)) { |
|
| 324 | 324 | // nothing to do |
| 325 | 325 | return; |
| 326 | 326 | } |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | // Create a task. |
| 86 | 86 | $taskName = $job->getTask(); |
| 87 | 87 | |
| 88 | - if(!class_exists($taskName)) { |
|
| 88 | + if (!class_exists($taskName)) { |
|
| 89 | 89 | throw new ApplicationLogicException('Job task does not exist'); |
| 90 | 90 | } |
| 91 | 91 | |