@@ -56,11 +56,11 @@ |
||
56 | 56 | $iconData[] = $icon; |
57 | 57 | $iconElement = HTMLNode::factory( |
58 | 58 | 'span', |
59 | - [ 'class' => "icon is-small is-left" ], |
|
59 | + ['class' => "icon is-small is-left"], |
|
60 | 60 | [ |
61 | 61 | HTMLNode::factory( |
62 | 62 | 'i', |
63 | - [ 'class' => $iconData ], |
|
63 | + ['class' => $iconData], |
|
64 | 64 | [] |
65 | 65 | ) |
66 | 66 | ] |
@@ -53,7 +53,7 @@ |
||
53 | 53 | ['class' => "file-icon"], |
54 | 54 | HTMLNode::factory( |
55 | 55 | 'i', |
56 | - [ 'class' => "fas fa-upload" ] |
|
56 | + ['class' => "fas fa-upload"] |
|
57 | 57 | ) |
58 | 58 | ), |
59 | 59 | HTMLNode::factory( |
@@ -27,7 +27,7 @@ |
||
27 | 27 | { |
28 | 28 | // add extra classes |
29 | 29 | $previous->walk( |
30 | - function ($e) use ($field) { |
|
30 | + function($e) use ($field) { |
|
31 | 31 | if ($e instanceof HTMLNode) { |
32 | 32 | if ($e->getTag() === 'input') { |
33 | 33 | if (($e->getAttribute('type')[0] ?? '') === 'radio') { |
@@ -59,12 +59,12 @@ |
||
59 | 59 | [], |
60 | 60 | HTMLNode::factory( |
61 | 61 | 'b-icon', |
62 | - [ 'icon' => "upload", 'size' => "is-large" ] |
|
62 | + ['icon' => "upload", 'size' => "is-large"] |
|
63 | 63 | ) |
64 | 64 | ), |
65 | 65 | HTMLNode::factory( |
66 | 66 | 'p', |
67 | - [ 'class' => 'formularium-label'], |
|
67 | + ['class' => 'formularium-label'], |
|
68 | 68 | $renderable[Renderable::LABEL] ?? '' |
69 | 69 | ) |
70 | 70 | ] |
@@ -27,7 +27,7 @@ |
||
27 | 27 | { |
28 | 28 | // add extra classes |
29 | 29 | $previous->walk( |
30 | - function ($e) { |
|
30 | + function($e) { |
|
31 | 31 | if ($e instanceof HTMLNode) { |
32 | 32 | if ($e->getTag() === 'input') { |
33 | 33 | $e->setTag('b-datepicker'); |
@@ -27,7 +27,7 @@ |
||
27 | 27 | { |
28 | 28 | // add extra classes |
29 | 29 | $previous->walk( |
30 | - function ($e) { |
|
30 | + function($e) { |
|
31 | 31 | if ($e instanceof HTMLNode) { |
32 | 32 | if ($e->getTag() === 'input') { |
33 | 33 | $e->setTag('b-datetimepicker'); |
@@ -27,7 +27,7 @@ |
||
27 | 27 | { |
28 | 28 | // add extra classes |
29 | 29 | $previous->walk( |
30 | - function ($e) { |
|
30 | + function($e) { |
|
31 | 31 | if ($e instanceof HTMLNode) { |
32 | 32 | if ($e->getTag() === 'input') { |
33 | 33 | $e->setTag('b-clockpicker'); |
@@ -32,7 +32,7 @@ |
||
32 | 32 | if (array_key_exists(Renderable::COMMENT, $renderable)) { |
33 | 33 | $base->setAttribute('message', $renderable[Renderable::COMMENT]); |
34 | 34 | } |
35 | - $base->filter(function ($e) { |
|
35 | + $base->filter(function($e) { |
|
36 | 36 | if ($e instanceof HTMLNode) { |
37 | 37 | if ($e->getTag() === 'label') { |
38 | 38 | return false; |
@@ -64,17 +64,17 @@ |
||
64 | 64 | $iconData[] = $icon; |
65 | 65 | $group = HTMLNode::factory( |
66 | 66 | 'div', |
67 | - [ 'class' => "input-group mb-3" ], |
|
67 | + ['class' => "input-group mb-3"], |
|
68 | 68 | [ |
69 | 69 | HTMLNode::factory( |
70 | 70 | 'div', |
71 | - [ 'class' => "input-group-prepend" ], |
|
71 | + ['class' => "input-group-prepend"], |
|
72 | 72 | HTMLNode::factory( |
73 | 73 | 'span', |
74 | - [ 'class' => "input-group-text" ], |
|
74 | + ['class' => "input-group-text"], |
|
75 | 75 | HTMLNode::factory( |
76 | 76 | 'i', |
77 | - [ 'class' => $iconData ], |
|
77 | + ['class' => $iconData], |
|
78 | 78 | [] |
79 | 79 | ) |
80 | 80 | ) |