@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | |
| 20 | 20 | $expire = $this->getExpire($method); |
| 21 | 21 | |
| 22 | - $closure = function () use ($method, $parameters) { |
|
| 22 | + $closure = function() use ($method, $parameters) { |
|
| 23 | 23 | return call_user_func_array([$this, $method], $parameters); |
| 24 | 24 | }; |
| 25 | 25 | |
@@ -43,9 +43,9 @@ discard block |
||
| 43 | 43 | */ |
| 44 | 44 | private function getExpire($method) |
| 45 | 45 | { |
| 46 | - $rf = new \ReflectionMethod($this,$method); |
|
| 46 | + $rf = new \ReflectionMethod($this, $method); |
|
| 47 | 47 | $staticVar = $rf->getStaticVariables(); |
| 48 | - if (array_key_exists('expire',$staticVar)){ |
|
| 48 | + if (array_key_exists('expire', $staticVar)) { |
|
| 49 | 49 | $expire = $staticVar['expire']; |
| 50 | 50 | } else { |
| 51 | 51 | $expire = 60; |