Completed
Branch master (7150c8)
by Derek Stephen
01:56
created
src/Collection/FieldCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/Collection/ValidatorCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Collection/FilterCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Field/FieldAbstract.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,6 @@
 block discarded – undo
182 182
     }
183 183
 
184 184
     /**
185
-     * @param FieldInterface $field
186 185
      */
187 186
     private function checkForErrors(ValidatorInterface $validator)
188 187
     {
Please login to merge, or discard this patch.