@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | |
| 107 | 107 | public function setFunctions($functions) |
| 108 | 108 | { |
| 109 | - if (! is_array($functions)) { |
|
| 109 | + if (!is_array($functions)) { |
|
| 110 | 110 | $functions = array($functions); |
| 111 | 111 | } |
| 112 | 112 | |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | public function applyFunctions($value) |
| 117 | 117 | { |
| 118 | 118 | foreach ($this->functions as $function) { |
| 119 | - if (! function_exists($function)) { |
|
| 119 | + if (!function_exists($function)) { |
|
| 120 | 120 | throw new \Exception("Function ".$function." does not exist"); |
| 121 | 121 | } |
| 122 | 122 | |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | { |
| 135 | 135 | $this->value = $value; |
| 136 | 136 | |
| 137 | - if (! $this->hideValue()) { |
|
| 137 | + if (!$this->hideValue()) { |
|
| 138 | 138 | $this->formField->val($this->value); |
| 139 | 139 | } |
| 140 | 140 | } |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | |
| 169 | 169 | public function getFormField() |
| 170 | 170 | { |
| 171 | - if (! $this->hideValue()) { |
|
| 171 | + if (!$this->hideValue()) { |
|
| 172 | 172 | if (Request::old($this->name)) { |
| 173 | 173 | $this->formField->val(Request::old($this->name)); |
| 174 | 174 | } |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | */ |
| 183 | 183 | public function hideValue($value = null) |
| 184 | 184 | { |
| 185 | - if (! is_null($value)) { |
|
| 185 | + if (!is_null($value)) { |
|
| 186 | 186 | $this->hideValue = $value; |
| 187 | 187 | } |
| 188 | 188 | |
@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | */ |
| 195 | 195 | public function saveIfEmpty($value = null) |
| 196 | 196 | { |
| 197 | - if (! is_null($value)) { |
|
| 197 | + if (!is_null($value)) { |
|
| 198 | 198 | $this->saveIfEmpty = $value; |
| 199 | 199 | } |
| 200 | 200 | |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | */ |
| 207 | 207 | public function noValidate($value = null) |
| 208 | 208 | { |
| 209 | - if (! is_null($value)) { |
|
| 209 | + if (!is_null($value)) { |
|
| 210 | 210 | $this->noValidate = $value; |
| 211 | 211 | } |
| 212 | 212 | |