Completed
Pull Request — master (#664)
by Georg
10:07
created
Classes/Report/SolrStatus.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
     {
200 200
         try {
201 201
             $pingQueryTime = $solr->getPingRoundTripRuntime();
202
-            $pingMessage = (int) $pingQueryTime . ' ms';
202
+            $pingMessage = (int)$pingQueryTime . ' ms';
203 203
         } catch (PingFailedException $e) {
204 204
             $this->responseStatus = Status::ERROR;
205 205
             $pingMessage = 'Ping error: ' . $e->getMessage();
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
         try {
218 218
             $solrConfigMessage = $solr->getSolrconfigName();
219 219
         } catch (\Exception $e) {
220
-            $this->responseStatus =  Status::ERROR;
220
+            $this->responseStatus = Status::ERROR;
221 221
             $solrConfigMessage = 'Error determining solr config: ' . $e->getMessage();
222 222
         }
223 223
 
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
         try {
235 235
             $solrSchemaMessage = $solr->getSchemaName();
236 236
         } catch (\Exception $e) {
237
-            $this->responseStatus  = Status::ERROR;
237
+            $this->responseStatus = Status::ERROR;
238 238
             $solrSchemaMessage = 'Error determining schema name: ' . $e->getMessage();
239 239
         }
240 240
 
Please login to merge, or discard this patch.
Classes/Search.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -526,7 +526,7 @@
 block discarded – undo
526 526
             $spellcheckingSuggestions = $suggestions;
527 527
 
528 528
             if (isset($this->response->spellcheck->collations)) {
529
-                $collactions = (array) $this->response->spellcheck->collations;
529
+                $collactions = (array)$this->response->spellcheck->collations;
530 530
                 $spellcheckingSuggestions['collation'] = $collactions['collation'];
531 531
             }
532 532
         }
Please login to merge, or discard this patch.