Completed
Push — feature/update_flight ( 5eb300...a7cb77 )
by Laurent
01:44
created
Form/Select.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      *
52 52
      * @return $this
53 53
      */
54
-    public function addValueOption($key, $value){
54
+    public function addValueOption($key, $value) {
55 55
         $this->valueOptions[$key] = $value;
56 56
         return $this;
57 57
     }
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     {
64 64
         parent::setValue($value);
65 65
 
66
-        if(!isset($this->valueOptions[$value])){
66
+        if (!isset($this->valueOptions[$value])) {
67 67
             $this->valueOptions[$value] = $value;
68 68
         }
69 69
     }
Please login to merge, or discard this patch.
Form/BaseInput.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     /**
103 103
      * @return $this
104 104
      */
105
-    public function required(){
105
+    public function required() {
106 106
         $this->options['attr']['required'] = 'required';
107 107
 
108 108
         return $this;
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     /**
112 112
      * @return $this
113 113
      */
114
-    public function disable(){
114
+    public function disable() {
115 115
         $this->options['attr']['disabled'] = 'disabled';
116 116
         return $this;
117 117
     }
@@ -121,8 +121,8 @@  discard block
 block discarded – undo
121 121
      *
122 122
      * @return string|int|boolean|null
123 123
      */
124
-    public function getOption($option){
125
-        if(!isset($this->options[$option])){
124
+    public function getOption($option) {
125
+        if (!isset($this->options[$option])) {
126 126
             return null;
127 127
         }
128 128
 
Please login to merge, or discard this patch.