Completed
Branch dev-master (f3e1e5)
by Derek Stephen
20:25
created
src/Renderer/Field/SelectRender.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,6 @@
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * @param FieldInterface $field
36
-     * @param DOMElement $option
37 36
      * @return DOMElement
38 37
      */
39 38
     private function processOption(FieldInterface $field, $value, $label)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         $option = $this->dom->createElement('option');
42 42
         $option->setAttribute('value', $value);
43 43
         $option->textContent = $label;
44
-        if($field->getValue() == $option->getAttribute('value')) {
44
+        if ($field->getValue() == $option->getAttribute('value')) {
45 45
             $option->setAttribute('selected', 'selected');
46 46
         }
47 47
         return $option;
Please login to merge, or discard this patch.