@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | private $_jobs = []; |
10 | 10 | private $_results = []; |
11 | 11 | |
12 | - public function add(Job &$job) |
|
12 | + public function add(Job&$job) |
|
13 | 13 | { |
14 | 14 | if (isset($this->_jobs[$job->getId()])) { |
15 | 15 | throw new DublciateException('job with given id already exists in pool'); |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | return true; |
29 | 29 | } |
30 | 30 | |
31 | - public function &get($id=null) |
|
31 | + public function &get($id = null) |
|
32 | 32 | { |
33 | 33 | if ($id) { |
34 | 34 | if (!isset($this->_jobs[$id])) { |