Passed
Branch refactor/164-removeoldcollecti... (a8e6c3)
by Luke
02:29
created
src/CSVelte/Taster.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,9 @@
 block discarded – undo
234 234
         // callback to build the aforementioned collection
235 235
         $buildTypes = function ($line, $line_no) use ($types, $delim, $eol) {
236 236
 
237
-            if ($line_no > 2) return;
237
+            if ($line_no > 2) {
238
+                return;
239
+            }
238 240
             $line = str_replace(self::PLACEHOLDER_NEWLINE, $eol, $line);
239 241
             $getType = function ($field, $colpos) use ($types, $line, $line_no, $delim) {
240 242
                 $field = str_replace(self::PLACEHOLDER_DELIM, $delim, $field);
Please login to merge, or discard this patch.