@@ -89,7 +89,7 @@ discard block |
||
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 |
||
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 | } |