mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-09-06 05:25:33 +01:00
Add line breaks for better readability
This commit is contained in:
parent
34ae5d9bcd
commit
6ccf830d23
2 changed files with 9 additions and 16 deletions
|
@ -31,9 +31,9 @@ class Builder
|
|||
|
||||
$xml = collect($this->filters)->map(function ($items) {
|
||||
return $this->buildEntry($items);
|
||||
})->implode('');
|
||||
})->implode(PHP_EOL);
|
||||
|
||||
return $prefix . $xml . $suffix;
|
||||
return collect([$prefix, $xml, $suffix])->implode(PHP_EOL);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue