@@ -103,7 +103,7 @@ |
||
103 | 103 | new $configClass($this->config[ 'drivers' ][ $name ][ 'parameters' ]) |
104 | 104 | ) |
105 | 105 | ); |
106 | - }else{ |
|
106 | + } else{ |
|
107 | 107 | throw new PhpfastcacheInvalidConfigurationException('Invalid configuration class name: ' . $configClass); |
108 | 108 | } |
109 | 109 | } |
@@ -194,7 +194,7 @@ |
||
194 | 194 | { |
195 | 195 | if(isset($this->twig_cache_blocks[$blockName])){ |
196 | 196 | $this->twig_cache_blocks[$blockName] = \array_merge($this->twig_cache_blocks[$blockName], $cacheBlock); |
197 | - }else{ |
|
197 | + } else{ |
|
198 | 198 | $this->twig_cache_blocks[$blockName] = $cacheBlock; |
199 | 199 | } |
200 | 200 |
@@ -32,7 +32,7 @@ |
||
32 | 32 | try{ |
33 | 33 | $cache9 = $phpfastcache->get('apccache'); |
34 | 34 | $cache10 = $phpfastcache->get('apcucache'); |
35 | - }catch(PhpfastcacheDriverCheckException $e){ |
|
35 | + } catch(PhpfastcacheDriverCheckException $e){ |
|
36 | 36 | $cache11 = $phpfastcache->get('xcachecache'); |
37 | 37 | } |
38 | 38 |
@@ -69,10 +69,10 @@ |
||
69 | 69 | $cacheItem->set($response); |
70 | 70 | $this->cacheInstance->save($cacheItem); |
71 | 71 | $cacheResponse = $response; |
72 | - }else{ |
|
72 | + } else{ |
|
73 | 73 | throw new PhpfastcacheLogicException('Your callback response MUST return a valid Symfony HTTP Foundation Response object'); |
74 | 74 | } |
75 | - }else{ |
|
75 | + } else{ |
|
76 | 76 | $cacheResponse->isNotModified($this->request); |
77 | 77 | } |
78 | 78 |