@@ -353,8 +353,8 @@ |
||
| 353 | 353 | * @return bool True if all the filter rules pass, false if not. |
| 354 | 354 | * |
| 355 | 355 | */ |
| 356 | - public function filter() |
|
| 357 | - { |
|
| 356 | + public function filter() |
|
| 357 | + { |
|
| 358 | 358 | $this->success = $this->filter->apply($this); |
| 359 | 359 | $this->failures = $this->filter->getFailures(); |
| 360 | 360 | |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | */ |
| 143 | 143 | public function __isset($name) |
| 144 | 144 | { |
| 145 | - if (! isset($this->inputs[$name])) { |
|
| 145 | + if (!isset($this->inputs[$name])) { |
|
| 146 | 146 | return false; |
| 147 | 147 | } |
| 148 | 148 | |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | */ |
| 189 | 189 | public function getInput($name) |
| 190 | 190 | { |
| 191 | - if (! isset($this->inputs[$name])) { |
|
| 191 | + if (!isset($this->inputs[$name])) { |
|
| 192 | 192 | throw new Exception\NoSuchInput($name); |
| 193 | 193 | } |
| 194 | 194 | |
@@ -361,7 +361,7 @@ discard block |
||
| 361 | 361 | // Iterate on fieldset or collection and get failures |
| 362 | 362 | foreach ($this->inputs as $name => $input) { |
| 363 | 363 | if ($input instanceof Fieldset || $input instanceof Collection) { |
| 364 | - if (! $input->filter()) { |
|
| 364 | + if (!$input->filter()) { |
|
| 365 | 365 | $this->success = false; |
| 366 | 366 | $this->failures->offsetSet($name, $input->getFailures()); |
| 367 | 367 | } |