Skip to content

Commit 2e58bb4

Browse files
OliverZieglerStyleCIBot
authored andcommitted
Apply fixes from StyleCI
[ci skip] [skip ci]
1 parent de36ed8 commit 2e58bb4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/Transformers/DocumentTransformer.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,24 @@ public function transform(Document $document)
1818
];
1919
}
2020

21-
public function includeBody(Document $document) {
21+
public function includeBody(Document $document)
22+
{
2223
$type = config('webfactor.documents.body_type');
2324
$options = config('webfactor.documents.transform_options.'.$type, []);
2425
$options = is_array($options)? $options : [$options];
2526

2627
$body = $document->body;
2728

28-
foreach($options as $option) {
29+
foreach ($options as $option) {
2930
$body = method_exists($this, $option) ? $this->{$option}($body) : $body;
3031
}
3132

3233
return $this->primitive($body);
3334
}
3435

3536
// body transformations
36-
protected function single_line_breaks($body) {
37+
protected function single_line_breaks($body)
38+
{
3739
return str_replace("\r\n", " \r\n", $body);
3840
}
3941
}

0 commit comments

Comments
 (0)