@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | public function getCountryCode($country) |
| 35 | 35 | { |
| 36 | - $rows = $this->getCSV(DIRNAME(__FILE__) . "/data/Landekoder.csv", $country); |
|
| 36 | + $rows = $this->getCSV(DIRNAME(__FILE__)."/data/Landekoder.csv", $country); |
|
| 37 | 37 | $stored_in_column = 2; |
| 38 | 38 | return $rows[$stored_in_column]; |
| 39 | 39 | } |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | */ |
| 46 | 46 | public function getMunicipalityCode($municipality) |
| 47 | 47 | { |
| 48 | - $rows = $this->getCSV(DIRNAME(__FILE__) . "/data/Kommuner.csv", $municipality); |
|
| 48 | + $rows = $this->getCSV(DIRNAME(__FILE__)."/data/Kommuner.csv", $municipality); |
|
| 49 | 49 | $stored_in_column = 2; |
| 50 | 50 | return $rows[$stored_in_column]; |
| 51 | 51 | } |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | */ |
| 81 | 81 | function substr_in_array($needle, array $haystack) |
| 82 | 82 | { |
| 83 | - $filtered = array_filter($haystack, function ($item) use ($needle) { |
|
| 83 | + $filtered = array_filter($haystack, function($item) use ($needle) { |
|
| 84 | 84 | return false !== strpos($item, $needle); |
| 85 | 85 | }); |
| 86 | 86 | |