Completed
Branch master (fac74b)
by DEATH
01:52
created
Category
src/EasyCacheTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.