Completed
Push — develop ( 0c1050...c29d6b )
by
unknown
16:19 queued 08:15
created
module/Solr/src/Solr/Bridge/ResultConverter.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,10 +67,10 @@  discard block
 block discarded – undo
67 67
                 } elseif (method_exists($ob,$setter) && !$value instanceof \SolrObject){
68 68
                     if ($name != 'location') {
69 69
                         call_user_func(array($ob, $setter), $value);
70
-                    }elseif (!$this->useGeoLocation) {
70
+                    } elseif (!$this->useGeoLocation) {
71 71
                         call_user_func(array($ob, $setter), $value);
72 72
                     }
73
-                }elseif(isset($propertiesMap[$name])){
73
+                } elseif(isset($propertiesMap[$name])){
74 74
                     $this->handleMappedProperty($propertiesMap[$name],$ob,$value);
75 75
                 }
76 76
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         $check = $date && ($date->format(Manager::SOLR_DATE_FORMAT) === $value);
113 113
         if($check){
114 114
             return $date;
115
-        }else{
115
+        } else{
116 116
             return $value;
117 117
         }
118 118
     }
Please login to merge, or discard this patch.
module/Solr/src/Solr/Listener/JobEventSubscriber.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         $solrDoc = $this->generateInputDocument($document, new \SolrInputDocument());
98 98
         try{
99 99
             $this->solrManager->addDocument($solrDoc,$this->solrManager->getOptions()->getJobsPath());
100
-        }catch (\Exception $e){
100
+        } catch (\Exception $e){
101 101
             // @TODO: What to do when the process failed?
102 102
         }
103 103
     }
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
         if(!is_null($job->getOrganization())){
141 141
             try {
142 142
                 $this->processOrganization($job,$document);
143
-            }catch (\Exception $e){
143
+            } catch (\Exception $e){
144 144
                 // @TODO: What to do when the process failed?
145 145
             }
146 146
         }
Please login to merge, or discard this patch.