@@ -44,6 +44,9 @@ |
||
44 | 44 | $this->shapeType = $shapeType; |
45 | 45 | } |
46 | 46 | |
47 | + /** |
|
48 | + * @param ShapeFile $ShapeFile |
|
49 | + */ |
|
47 | 50 | public function loadFromFile(&$ShapeFile, &$SHPFile, &$DBFFile) { |
48 | 51 | $this->ShapeFile = $ShapeFile; |
49 | 52 | $this->SHPFile = $SHPFile; |
@@ -304,7 +304,7 @@ discard block |
||
304 | 304 | private function _loadMultiPointMZRecord($type) |
305 | 305 | { |
306 | 306 | /* The m dimension is optional, depends on bounding box data */ |
307 | - if ($type == 'm' && ! $this->ShapeFile->hasMeasure()) { |
|
307 | + if ($type == 'm' && !$this->ShapeFile->hasMeasure()) { |
|
308 | 308 | return; |
309 | 309 | } |
310 | 310 | |
@@ -395,7 +395,7 @@ discard block |
||
395 | 395 | */ |
396 | 396 | private function _loadPolyLineMZRecord($type) { |
397 | 397 | /* The m dimension is optional, depends on bounding box data */ |
398 | - if ($type == 'm' && ! $this->ShapeFile->hasMeasure()) { |
|
398 | + if ($type == 'm' && !$this->ShapeFile->hasMeasure()) { |
|
399 | 399 | return; |
400 | 400 | } |
401 | 401 |
@@ -522,7 +522,7 @@ |
||
522 | 522 | */ |
523 | 523 | public function hasMeasure() |
524 | 524 | { |
525 | - return $this->boundingBox['mmin'] != 0 || $this->boundingBox['mmax'] != 0; |
|
525 | + return $this->boundingBox['mmin'] != 0 || $this->boundingBox['mmax'] != 0; |
|
526 | 526 | } |
527 | 527 | } |
528 | 528 |