Passed
Push — master ( d0b274...bc115f )
by Lars
02:09
created
src/Utility.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
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 = 3;
38 38
         return $rows[$stored_in_column];
39 39
     }
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
80 80
      */
81 81
     private function substrInArray($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
 
Please login to merge, or discard this patch.