Test Failed
Push — 1.0.0-dev ( 069ccf...edefc3 )
by nguereza
02:24
created
core/classes/database/DatabaseCache.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
         public function getCacheContent() {
159 159
             //set some attributes values
160 160
             $this->setPropertiesValues();
161
-            if(! $this->isSelectQuery || ! $this->dbCacheStatus){
161
+            if (!$this->isSelectQuery || !$this->dbCacheStatus) {
162 162
                 $this->logger->info('The cache is not enabled for this query or is not a SELECT query'); 
163 163
                 return null;
164 164
             }
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
         public function saveCacheContent($result) {
180 180
             //set some attributes values
181 181
             $this->setPropertiesValues();
182
-            if(! $this->isSelectQuery || ! $this->dbCacheStatus){
182
+            if (!$this->isSelectQuery || !$this->dbCacheStatus) {
183 183
                 //just return true
184 184
                 return null;
185 185
             }
Please login to merge, or discard this patch.