Passed
Push — master ( 190c48...bc57b3 )
by Chris
03:45 queued 10s
created
php/hamle/Field.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -112,16 +112,16 @@  discard block
 block discarded – undo
112 112
 
113 113
   function getValue() {
114 114
     if (!is_null($this->setValue)) return $this->setValue;
115
-    if (isset($_REQUEST[$this->form . "_" . $this->name])) {
116
-      return $_REQUEST[$this->form . "_" . $this->name];
115
+    if (isset($_REQUEST[$this->form."_".$this->name])) {
116
+      return $_REQUEST[$this->form."_".$this->name];
117 117
     }
118 118
     return $this->opt['default'];
119 119
   }
120 120
 
121 121
   function getInputAttStatic(&$atts, &$type, &$content) {
122
-    $atts['id'] = $atts['name'] = $this->form . "_" . $this->name;
122
+    $atts['id'] = $atts['name'] = $this->form."_".$this->name;
123 123
     $atts['type'] = "text";
124
-    $atts['class'][] = str_replace(['Seufert\\','\\'],['','_'],get_class($this));
124
+    $atts['class'][] = str_replace(['Seufert\\', '\\'], ['', '_'], get_class($this));
125 125
   }
126 126
 
127 127
   function getInputAttDynamic(&$atts, &$type, &$content) {
@@ -139,8 +139,8 @@  discard block
 block discarded – undo
139 139
   }
140 140
 
141 141
   function getLabelAttStatic(&$atts, &$type, &$content) {
142
-    $atts['class'][] = str_replace(['Seufert\\','\\'],['','_'],get_class($this));
143
-    $atts["for"] = $this->form . "_" . $this->name;
142
+    $atts['class'][] = str_replace(['Seufert\\', '\\'], ['', '_'], get_class($this));
143
+    $atts["for"] = $this->form."_".$this->name;
144 144
     $content = array($this->opt['label']);
145 145
   }
146 146
 
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
   }
149 149
 
150 150
   function getHintAttStatic(&$atts, &$type, &$content) {
151
-    $atts['class'][] = str_replace(['Seufert\\','\\'],['','_'],get_class($this));
151
+    $atts['class'][] = str_replace(['Seufert\\', '\\'], ['', '_'], get_class($this));
152 152
     $atts['class'][] = "hamleFormHint";
153 153
   }
154 154
 
Please login to merge, or discard this patch.