Skip to content

Commit c2472ef

Browse files
committed
Normalize var_export output
1 parent 13a97f6 commit c2472ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generators/ModelGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ private function pretty_print_array(array $data, $assoc = true)
233233
$output = preg_replace('/^(\s+)[^=]+=>\s+/m', '$1', $output);
234234
}
235235

236-
return trim($output);
236+
return trim(str_replace("\n", PHP_EOL, $output));
237237
}
238238

239239
private function addTraits(Model $model, $stub)

0 commit comments

Comments
 (0)