@@ -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 | |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | public function filter() |
357 | 357 | { |
358 | 358 | $success = $this->filter->apply($this); |
359 | - if (! $success) { |
|
359 | + if (!$success) { |
|
360 | 360 | $this->success = $success; |
361 | 361 | $this->failures = $this->filter->getFailures(); |
362 | 362 | } |
@@ -364,9 +364,9 @@ discard block |
||
364 | 364 | // Iterate on fieldset or collection and get failures |
365 | 365 | foreach ($this->inputs as $name => $input) { |
366 | 366 | if ($input instanceof Fieldset || $input instanceof Collection) { |
367 | - if (! $input->filter()) { |
|
367 | + if (!$input->filter()) { |
|
368 | 368 | $this->success = false; |
369 | - if (! $this->failures instanceof ArrayObject) { |
|
369 | + if (!$this->failures instanceof ArrayObject) { |
|
370 | 370 | $this->failures = new ArrayObject(); |
371 | 371 | } |
372 | 372 | $this->failures->offsetSet($name, $input->getFailures()); |
@@ -375,7 +375,7 @@ discard block |
||
375 | 375 | } |
376 | 376 | |
377 | 377 | // If there is no failure, then it is a success on all Filters |
378 | - if (! isset($this->success) && $success) { |
|
378 | + if (!isset($this->success) && $success) { |
|
379 | 379 | $this->success = true; |
380 | 380 | } |
381 | 381 |