Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Quy committed Jan 24, 2023
1 parent 7b37d37 commit fcf2264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/src/Form/Field/TextareaField.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,12 @@ protected function getLayoutData()
{
$data = parent::getLayoutData();

$extraData = array(
$extraData = [
'maxlength' => $this->maxlength,
'rows' => $this->rows,
'columns' => $this->columns,
'charcounter' => $this->charcounter
);
];

return array_merge($data, $extraData);
}
Expand Down

0 comments on commit fcf2264

Please sign in to comment.