@@ -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. |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | */ |
| 78 | 78 | public function fill(array $data) |
| 79 | 79 | { |
| 80 | - if ($this->anti_csrf && ! $this->anti_csrf->isValid($data)) { |
|
| 80 | + if ($this->anti_csrf && !$this->anti_csrf->isValid($data)) { |
|
| 81 | 81 | throw new Exception\CsrfViolation; |
| 82 | 82 | } |
| 83 | 83 | parent::fill($data); |
@@ -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. |
@@ -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. |
@@ -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. |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | // apply the closure to the data and get back the result |
| 133 | 133 | $passed = $closure($values->$field, $values); |
| 134 | 134 | |
| 135 | - if (! $passed) { |
|
| 135 | + if (!$passed) { |
|
| 136 | 136 | $this->failures->addMessagesForField($field, $message); |
| 137 | 137 | } |
| 138 | 138 | } |
@@ -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. |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | */ |
| 145 | 145 | public function __isset($name) |
| 146 | 146 | { |
| 147 | - if (! isset($this->inputs[$name])) { |
|
| 147 | + if (!isset($this->inputs[$name])) { |
|
| 148 | 148 | return false; |
| 149 | 149 | } |
| 150 | 150 | |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | */ |
| 191 | 191 | public function getInput($name) |
| 192 | 192 | { |
| 193 | - if (! isset($this->inputs[$name])) { |
|
| 193 | + if (!isset($this->inputs[$name])) { |
|
| 194 | 194 | throw new Exception\NoSuchInput($name); |
| 195 | 195 | } |
| 196 | 196 | |
@@ -363,7 +363,7 @@ discard block |
||
| 363 | 363 | // Iterate on fieldset or collection and get failures |
| 364 | 364 | foreach ($this->inputs as $name => $input) { |
| 365 | 365 | if ($input instanceof Fieldset || $input instanceof Collection) { |
| 366 | - if (! $input->filter()) { |
|
| 366 | + if (!$input->filter()) { |
|
| 367 | 367 | $this->success = false; |
| 368 | 368 | $failures = $input->getFailures(); |
| 369 | 369 | if ($failures instanceof FailureCollectionInterface) { |
@@ -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. |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | { |
| 86 | 86 | $passed = true; |
| 87 | 87 | foreach ($this->fieldsets as $key => $fieldset) { |
| 88 | - if (! $fieldset->filter()) { |
|
| 88 | + if (!$fieldset->filter()) { |
|
| 89 | 89 | $passed = false; |
| 90 | 90 | } |
| 91 | 91 | } |