@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | { |
| 44 | 44 | $data = $this->parserFromFile($filePath); |
| 45 | 45 | |
| 46 | - $collection = new Collection($this->parserProcess($data)); |
|
| 46 | + $collection = new Collection($this->parserProcess($data)); |
|
| 47 | 47 | $collection->setMeta($this->parserMetas($data)); |
| 48 | 48 | |
| 49 | 49 | return $collection; |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | if (!$this->hasKey($item)) { |
| 106 | 106 | continue; |
| 107 | 107 | } |
| 108 | - $key = $item->get($this->idField); |
|
| 108 | + $key = $item->get($this->idField); |
|
| 109 | 109 | |
| 110 | 110 | if ($second->containsKey($key)) { |
| 111 | 111 | foreach ($second->get($key) as $field => $value) { |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | |
| 31 | 31 | protected function normalizePrice($value) |
| 32 | 32 | { |
| 33 | - $strpos = function ($needle) use ($value) { |
|
| 33 | + $strpos = function($needle) use ($value) { |
|
| 34 | 34 | return strpos($value, $needle); |
| 35 | 35 | }; |
| 36 | 36 | |