@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | */ |
| 186 | 186 | public function getGoodslist() { |
| 187 | 187 | if (!isset($this->goodsList)) { |
| 188 | - return NULL; |
|
| 188 | + return null; |
|
| 189 | 189 | } |
| 190 | 190 | return $this->goodsList; |
| 191 | 191 | } |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | */ |
| 214 | 214 | private function _getTariffList() { |
| 215 | 215 | if (!isset($this->tariffList)) { |
| 216 | - return NULL; |
|
| 216 | + return null; |
|
| 217 | 217 | } |
| 218 | 218 | return $this->tariffList; |
| 219 | 219 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | $handle = fopen(__DIR__ . '/../vendor/CdekCity_RUS_20170729.csv', 'r'); |
| 24 | 24 | $row = 1; |
| 25 | 25 | $cols = []; |
| 26 | - while (($data = fgetcsv($handle, 10000, ";")) !== FALSE) { |
|
| 26 | + while (($data = fgetcsv($handle, 10000, ";")) !== false) { |
|
| 27 | 27 | if ($row === 1) { |
| 28 | 28 | $cols = $data; |
| 29 | 29 | } else { |