Passed
Push — master ( ae9588...0a5275 )
by Lars
02:12 queued 01:15
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
         if ($rows == 0) {
40 40
             return 0;
41 41
         }
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.