Code Duplication    Length = 7-10 lines in 2 locations

src/Model/LocalBusiness.php 2 locations

@@ 201-210 (lines=10) @@
198
			}
199
200
			// serialize schema:GeoCoordinates
201
			if( !$skippGeo){
202
203
				$geoDescription = $this->buildNormalizedAddress();
204
		
205
				$_('<%s> a schema:GeoCoordinates;', $geoUri); 
206
					!empty($geoDescription) 	&& $_('schema:alternateLabel """%s"""@%s;', $geoDescription);
207
					!empty($lat) 				&& $_('wgs:lat %s ;', $lat);
208
					!empty($long) 				&& $_('wgs:long %s ;', $long);
209
				$rdf.=' . ';
210
			}
211
212
			// serialize schema:Place
213
			if( !$skippPlace){
@@ 213-219 (lines=7) @@
210
			}
211
212
			// serialize schema:Place
213
			if( !$skippPlace){
214
				$_('<%s> a schema:LocalBusiness;', $placeUri);
215
					!empty($businessType) 		&& $_('a %s;', $businessType);
216
					!$skippAddress 				&& $_('schema:address <%s>;', $addressUri);
217
					!$skippGeo 					&& $_('schema:geo <%s>;', $geoUri);
218
				$rdf.=' . ';
219
			}
220
	
221
			$this->rdf = $rdf;
222
			$this->tripleCount  = $tc;