@@ -22,7 +22,7 @@ |
||
22 | 22 | while ($this->valid()) { |
23 | 23 | /** @var FieldInterface $field */ |
24 | 24 | $field = $this->current(); |
25 | - if($field->getName() == $name) { |
|
25 | + if ($field->getName() == $name) { |
|
26 | 26 | return $field; |
27 | 27 | } |
28 | 28 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | */ |
21 | 21 | public function append($validator) |
22 | 22 | { |
23 | - if(!$validator instanceof ValidatorInterface) { |
|
23 | + if (!$validator instanceof ValidatorInterface) { |
|
24 | 24 | throw new InvalidArgumentException('You can only append a Del\Form\Validator\ValidatorInterface.'); |
25 | 25 | } |
26 | 26 | parent::append($validator); |
@@ -20,7 +20,7 @@ |
||
20 | 20 | */ |
21 | 21 | public function append($filter) |
22 | 22 | { |
23 | - if(!$filter instanceof FilterInterface) { |
|
23 | + if (!$filter instanceof FilterInterface) { |
|
24 | 24 | throw new InvalidArgumentException('You can only append a Del\Form\Filter\FilterInterface.'); |
25 | 25 | } |
26 | 26 | parent::append($filter); |