@@ -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 | if ($rows == 0) { |
40 | 40 | return 0; |
41 | 41 | } |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | public function getMunicipalityCode($municipality) |
54 | 54 | { |
55 | - $rows = $this->getCSV(DIRNAME(__FILE__) . "/data/Kommuner.csv", $municipality); |
|
55 | + $rows = $this->getCSV(DIRNAME(__FILE__)."/data/Kommuner.csv", $municipality); |
|
56 | 56 | if ($rows == 0) { |
57 | 57 | return 0; |
58 | 58 | } |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | */ |
116 | 116 | private function substrInArray($needle, array $haystack) |
117 | 117 | { |
118 | - $filtered = array_filter($haystack, function ($item) use ($needle) { |
|
118 | + $filtered = array_filter($haystack, function($item) use ($needle) { |
|
119 | 119 | return false !== strpos($item, $needle); |
120 | 120 | }); |
121 | 121 |