Completed
Push — master ( f4ebe5...e98ad1 )
by Michal
03:35
created
src/ShapeFile.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -70,12 +70,12 @@  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;
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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');
Please login to merge, or discard this patch.