@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | |
49 | 49 | $this->helper->message('Processing states...'); |
50 | 50 | |
51 | - $normalizerClosure = function ($item) { |
|
51 | + $normalizerClosure = function($item) { |
|
52 | 52 | $item = $this->updater->addDataSource($item, 'natural'); |
53 | 53 | |
54 | 54 | $item = $this->updater->addRecordType($item, 'state'); |
@@ -56,13 +56,13 @@ discard block |
||
56 | 56 | return $this->updater->normalizeStateOrCityData($item); |
57 | 57 | }; |
58 | 58 | |
59 | - $getCodeClosure = function ($item) { |
|
59 | + $getCodeClosure = function($item) { |
|
60 | 60 | return $this->makeStatePostalCode($item); |
61 | 61 | }; |
62 | 62 | |
63 | 63 | $counter = 0; |
64 | 64 | |
65 | - $mergerClosure = function ($states) use (&$counter) { |
|
65 | + $mergerClosure = function($states) use (&$counter) { |
|
66 | 66 | if ($counter++ % 100 === 0) { |
67 | 67 | $this->helper->message("Processed: $counter"); |
68 | 68 | } |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | } |
94 | 94 | } |
95 | 95 | |
96 | - if (! empty(trim($item->postal))) { |
|
96 | + if (!empty(trim($item->postal))) { |
|
97 | 97 | $item->postal; |
98 | 98 | } |
99 | 99 |