@@ -70,12 +70,12 @@ discard block |
||
70 | 70 | $this->FileName = $FileName; |
71 | 71 | |
72 | 72 | if (($this->_openSHPFile()) && ($this->_openDBFFile())) { |
73 | - if (! $this->_loadHeaders()) { |
|
73 | + if (!$this->_loadHeaders()) { |
|
74 | 74 | $this->_closeSHPFile(); |
75 | 75 | $this->_closeDBFFile(); |
76 | 76 | return false; |
77 | 77 | } |
78 | - if (! $this->_loadRecords()) { |
|
78 | + if (!$this->_loadRecords()) { |
|
79 | 79 | $this->_closeSHPFile(); |
80 | 80 | $this->_closeDBFFile(); |
81 | 81 | return false; |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | * @param string|null $FileName Name of file to open |
93 | 93 | */ |
94 | 94 | public function saveToFile($FileName = null) { |
95 | - if (! is_null($FileName)) { |
|
95 | + if (!is_null($FileName)) { |
|
96 | 96 | $this->FileName = $FileName; |
97 | 97 | } |
98 | 98 | |
@@ -323,7 +323,7 @@ discard block |
||
323 | 323 | } |
324 | 324 | |
325 | 325 | private function _saveRecords() { |
326 | - if (! ShapeFile::supports_dbase()) { |
|
326 | + if (!ShapeFile::supports_dbase()) { |
|
327 | 327 | return; |
328 | 328 | } |
329 | 329 | $dbf_name = $this->_getFilename('.dbf'); |
@@ -389,7 +389,7 @@ discard block |
||
389 | 389 | * @return bool |
390 | 390 | */ |
391 | 391 | private function _openDBFFile($toWrite = false) { |
392 | - if (! ShapeFile::supports_dbase()) { |
|
392 | + if (!ShapeFile::supports_dbase()) { |
|
393 | 393 | return true; |
394 | 394 | } |
395 | 395 | $dbf_name = $this->_getFilename('.dbf'); |