Completed
Push — feature/0.7.0 ( 1ee46b...91054f )
by Ryuichi
04:42
created
WebStream/Module/Utility/CacheUtils.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,14 +33,14 @@  discard block
 block discarded – undo
33 33
                 $driver = $factory->create("WebStream\Cache\Driver\Apcu", $config);
34 34
                 break;
35 35
             case "memcached":
36
-                $cacheConfig = \Spyc::YAMLLoad($this->getApplicationRoot() . '/config/cache.yml');
36
+                $cacheConfig = \Spyc::YAMLLoad($this->getApplicationRoot().'/config/cache.yml');
37 37
                 if (array_key_exists('memcached', $cacheConfig)) {
38 38
                     $config->servers = [[$cacheConfig['memcached']['host'], $cacheConfig['memcached']['port']]];
39 39
                     $driver = $factory->create("WebStream\Cache\Driver\Memcached", $config);
40 40
                 }
41 41
                 break;
42 42
             case "redis":
43
-                $cacheConfig = \Spyc::YAMLLoad($this->getApplicationRoot() . '/config/cache.yml');
43
+                $cacheConfig = \Spyc::YAMLLoad($this->getApplicationRoot().'/config/cache.yml');
44 44
                 if (array_key_exists('redis', $cacheConfig)) {
45 45
                     $config->host = $cacheConfig['redis']['host'];
46 46
                     $config->port = $cacheConfig['redis']['port'];
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
                 }
49 49
                 break;
50 50
             case "temporaryFile":
51
-                $cacheConfig = \Spyc::YAMLLoad($this->getApplicationRoot() . '/config/cache.yml');
51
+                $cacheConfig = \Spyc::YAMLLoad($this->getApplicationRoot().'/config/cache.yml');
52 52
                 if (array_key_exists('temporaryfile', $cacheConfig)) {
53 53
                     $config->cacheDir = $cacheConfig['temporaryfile']['path'];
54 54
                     $driver = $factory->create("WebStream\Cache\Driver\TemporaryFile", $config);
Please login to merge, or discard this patch.