@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | /** |
4 | 4 | * |
5 | 5 | * This file is part of Aura for PHP. |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | */ |
48 | 48 | public function addMessagesForField($field, $messages) |
49 | 49 | { |
50 | - if (! isset($this->messages[$field])) { |
|
50 | + if (!isset($this->messages[$field])) { |
|
51 | 51 | $this->messages[$field] = []; |
52 | 52 | } |
53 | 53 | |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | */ |
81 | 81 | public function getMessagesForField($field) |
82 | 82 | { |
83 | - if (! isset($this->messages[$field])) { |
|
83 | + if (!isset($this->messages[$field])) { |
|
84 | 84 | return array(); |
85 | 85 | } |
86 | 86 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | /** |
4 | 4 | * |
5 | 5 | * This file is part of the Aura project for PHP. |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | /** |
4 | 4 | * |
5 | 5 | * This file is part of the Aura project for PHP. |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | */ |
75 | 75 | public function newField($name, $type = null) |
76 | 76 | { |
77 | - if (! $type) { |
|
77 | + if (!$type) { |
|
78 | 78 | $type = 'text'; |
79 | 79 | } |
80 | 80 | $class = $this->field_class; |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | */ |
97 | 97 | public function newFieldset($name, $type = null) |
98 | 98 | { |
99 | - if (! $type) { |
|
99 | + if (!$type) { |
|
100 | 100 | $type = $name; |
101 | 101 | } |
102 | 102 | $factory = $this->fieldset_map[$type]; |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | */ |
119 | 119 | public function newCollection($name, $type = null) |
120 | 120 | { |
121 | - if (! $type) { |
|
121 | + if (!$type) { |
|
122 | 122 | $type = $name; |
123 | 123 | } |
124 | 124 | $class = $this->collection_class; |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | /** |
4 | 4 | * |
5 | 5 | * This file is part of the Aura project for PHP. |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public function newInstance($name) |
58 | 58 | { |
59 | - if (! isset($this->map[$name])) { |
|
59 | + if (!isset($this->map[$name])) { |
|
60 | 60 | throw new Exception\NoSuchForm($name); |
61 | 61 | } |
62 | 62 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | /** |
4 | 4 | * |
5 | 5 | * This file is part of the Aura project for PHP. |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | /** |
4 | 4 | * |
5 | 5 | * This file is part of the Aura project for PHP. |