Passed
Push — develop ( 5bae1d...5b2d1e )
by Jens
02:48
created
src/search/Search.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
             $errorMsg = $errorInfo[2];
90 90
             throw new \RuntimeException('SQLite Exception: ' . $errorMsg . ' in SQL: <br /><pre>' . $sql . '</pre>');
91 91
         }
92
-        return (int)$result;
92
+        return (int) $result;
93 93
     }
94 94
 
95 95
     /**
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
                     $resultObj = new SearchResult();
189 189
                     $resultObj->documentPath = $result->documentPath;
190 190
                     $resultObj->matchingTokens = array($token);
191
-                    $resultObj->score = (float)$result->score;
191
+                    $resultObj->score = (float) $result->score;
192 192
                     $resultObj->setStorage($this->storage);
193 193
                     $finalResults[$result->documentPath] = $resultObj;
194 194
                 }
Please login to merge, or discard this patch.