@@ -67,10 +67,10 @@ discard block |
||
| 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 |
||
| 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 | } |
@@ -97,7 +97,7 @@ discard block |
||
| 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 |
||
| 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 | } |