| @@ -20,7 +20,7 @@ discard block | ||
| 20 | 20 |      { | 
| 21 | 21 |          if($f instanceof \Closure) { | 
| 22 | 22 | $this->f = $f->bindTo($this); | 
| 23 | -        } elseif(method_exists('\Closure','fromCallable')) { | |
| 23 | +        } elseif(method_exists('\Closure', 'fromCallable')) { | |
| 24 | 24 | $this->f = \Closure::fromCallable($f)->bindTo($this); | 
| 25 | 25 |          } else { | 
| 26 | 26 |              throw new \RuntimeException('Using anything else than a callable is only possible for PHP >= 7.1.'); | 
| @@ -40,7 +40,7 @@ discard block | ||
| 40 | 40 |          if($this->recursing === false) { | 
| 41 | 41 | $this->recursing = true; | 
| 42 | 42 | |
| 43 | -            while(! empty($this->arguments_pool)) { | |
| 43 | +            while(!empty($this->arguments_pool)) { | |
| 44 | 44 | $result = call_user_func_array($this->f, array_shift($this->arguments_pool)); | 
| 45 | 45 | } | 
| 46 | 46 | |