Passed
Push — master ( bb62af...ae9588 )
by Lars
01:31 queued 11s
created
src/Utility.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.