Completed
Push — master ( e53124...f4ebe5 )
by Michal
03:46
created
src/ShapeFile.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
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;
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      * @param string|null $FileName Name of file to open
89 89
      */
90 90
     public function saveToFile($FileName = null) {
91
-        if (! is_null($FileName)) {
91
+        if (!is_null($FileName)) {
92 92
             $this->FileName = $FileName;
93 93
         }
94 94
 
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
     }
317 317
 
318 318
     private function _saveRecords() {
319
-        if (! ShapeFile::supports_dbase()) {
319
+        if (!ShapeFile::supports_dbase()) {
320 320
             return;
321 321
         }
322 322
         $dbf_name = $this->_getFilename('.dbf');
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
      * @return bool
383 383
      */
384 384
     private function _openDBFFile($toWrite = false) {
385
-        if (! ShapeFile::supports_dbase()) {
385
+        if (!ShapeFile::supports_dbase()) {
386 386
             return true;
387 387
         }
388 388
         $dbf_name = $this->_getFilename('.dbf');
Please login to merge, or discard this patch.