@@ -28,7 +28,7 @@ |
||
28 | 28 | if (function_exists('json_last_error_msg')) { |
29 | 29 | $error_message = json_last_error_msg(); |
30 | 30 | } else { |
31 | - $error_message = 'Syntax error'; |
|
31 | + $error_message = 'Syntax error'; |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | if (json_last_error() !== JSON_ERROR_NONE) { |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | |
96 | 96 | // Look for the key, creating nested keys if needed |
97 | 97 | while ($part = array_shift($segs)) { |
98 | - if($cacheKey != ''){ |
|
98 | + if ($cacheKey != '') { |
|
99 | 99 | $cacheKey .= '.'; |
100 | 100 | } |
101 | 101 | $cacheKey .= $part; |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | $root = &$root[$part]; |
106 | 106 | |
107 | 107 | //Unset all old nested cache |
108 | - if(isset($this->cache[$cacheKey])){ |
|
108 | + if (isset($this->cache[$cacheKey])) { |
|
109 | 109 | unset($this->cache[$cacheKey]); |
110 | 110 | } |
111 | 111 | } |