File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments