@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | */ |
| 36 | 36 | public function getCountryCode($country) |
| 37 | 37 | { |
| 38 | - $rows = $this->getCSV(DIRNAME(__FILE__) . "/data/Landekoder.csv", $country); |
|
| 38 | + $rows = $this->getCSV(DIRNAME(__FILE__)."/data/Landekoder.csv", $country); |
|
| 39 | 39 | $stored_in_column = 1; |
| 40 | 40 | return $rows[$stored_in_column]; |
| 41 | 41 | } |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | public function getMunicipalityCode($municipality) |
| 51 | 51 | { |
| 52 | - $rows = $this->getCSV(DIRNAME(__FILE__) . "/data/Kommuner.csv", $municipality); |
|
| 52 | + $rows = $this->getCSV(DIRNAME(__FILE__)."/data/Kommuner.csv", $municipality); |
|
| 53 | 53 | $stored_in_column = 2; |
| 54 | 54 | return $rows[$stored_in_column]; |
| 55 | 55 | } |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | */ |
| 99 | 99 | private function substrInArray($needle, array $haystack) |
| 100 | 100 | { |
| 101 | - $filtered = array_filter($haystack, function ($item) use ($needle) { |
|
| 101 | + $filtered = array_filter($haystack, function($item) use ($needle) { |
|
| 102 | 102 | return false !== strpos($item, $needle); |
| 103 | 103 | }); |
| 104 | 104 | |