Completed
Branch develop (477d94)
by Nicolas
05:26
created
lib/Pool.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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])) {
Please login to merge, or discard this patch.