Skip to content

Commit db0e84e

Browse files
committed
remove @ usage
1 parent 94fae6b commit db0e84e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Ajax/semantic/widgets/base/FieldAsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ public function fieldAs($index, $type, $attributes = NULL) {
366366
public function fieldAsSubmit($index, $cssStyle = NULL, $url = NULL, $responseElement = NULL, $attributes = NULL) {
367367
return $this->_fieldAs(function ($id, $name, $value, $caption) use ($url, $responseElement, $cssStyle, $attributes) {
368368
$button = new HtmlButton($id, $caption, $cssStyle);
369-
$this->_buttonAsSubmit($button, "click", $url, $responseElement, @$attributes["ajax"]);
369+
$this->_buttonAsSubmit($button, "click", $url, $responseElement, $attributes["ajax"] ?? []);
370370
return $button;
371371
}, $index, $attributes, "submit");
372372
}

0 commit comments

Comments
 (0)