@@ -204,7 +204,7 @@ |
||
204 | 204 | $this->confirm = new ActionConfirmation($confirm); |
205 | 205 | |
206 | 206 | return $this; |
207 | - } elseif (!isset($confirm)) { |
|
207 | + } elseif ( ! isset($confirm)) { |
|
208 | 208 | $this->confirm = null; |
209 | 209 | return $this; |
210 | 210 | } |
@@ -229,8 +229,7 @@ |
||
229 | 229 | 'value' => $this->getValue(), |
230 | 230 | 'confirm' => $this->getConfirm()->toArray(), |
231 | 231 | ]; |
232 | - } |
|
233 | - else |
|
232 | + } else |
|
234 | 233 | { |
235 | 234 | return [ |
236 | 235 | 'name' => $this->getName(), |