Completed
Pull Request — master (#1063)
by
unknown
34:03
created
Classes/SolrService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
      */
303 303
     protected function performPingRequest($timeout = 2, $useCache = true)
304 304
     {
305
-        $cacheKey = (string) ($this);
305
+        $cacheKey = (string)($this);
306 306
         if ($useCache && isset(static::$pingCache[$cacheKey])) {
307 307
             return static::$pingCache[$cacheKey];
308 308
         }
@@ -631,7 +631,7 @@  discard block
 block discarded – undo
631 631
             $solrconfigXmlUrl = $this->_scheme . '://'
632 632
                 . $this->_host . ':' . $this->_port
633 633
                 . $this->_path . 'admin/file/?file=solrconfig.xml';
634
-            $response= $this->_sendRawGet($solrconfigXmlUrl);
634
+            $response = $this->_sendRawGet($solrconfigXmlUrl);
635 635
 
636 636
             $solrconfigXml = simplexml_load_string($response->getRawResponse());
637 637
             if ($solrconfigXml === false) {
@@ -896,7 +896,7 @@  discard block
 block discarded – undo
896 896
     {
897 897
         $paths = explode('/', trim($this->_path, '/'));
898 898
 
899
-        return (string) array_pop($paths);
899
+        return (string)array_pop($paths);
900 900
     }
901 901
 
902 902
     /**
Please login to merge, or discard this patch.