Add space between foreach and ‘(‘

[MAILPOET-1791]
This commit is contained in:
Ján Mikláš
2019-02-13 12:52:39 +01:00
committed by M. Shull
parent fba2914392
commit ebbdec5ebd
134 changed files with 351 additions and 351 deletions

View File

@ -23,7 +23,7 @@ class StructureTransformer {
* elements and inserts tags as children of top ancestor
*/
protected function hoistImagesToRoot(DomNode $root) {
foreach($root->query('img') as $item) {
foreach ($root->query('img') as $item) {
$top_ancestor = DOMUtil::findTopAncestor($item);
$offset = $top_ancestor->index();
@ -105,7 +105,7 @@ class StructureTransformer {
private function mergeNeighboringBlocks(array $structure) {
$updated_structure = array();
$text_accumulator = '';
foreach($structure as $item) {
foreach ($structure as $item) {
if($item['type'] === 'text') {
$text_accumulator .= $item['text'];
}