Skip to content

Commit

Permalink
Update array syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
iMattPro committed Apr 6, 2021
1 parent 6766dfa commit 72a51c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/bbcodes_installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@ protected function build_bbcode(array $bbcode_data)
{
$data = $this->acp_bbcodes->build_regexp($bbcode_data['bbcode_match'], $bbcode_data['bbcode_tpl']);

$bbcode_data = array_replace($bbcode_data, array(
$bbcode_data = array_replace($bbcode_data, [
'bbcode_tag' => $data['bbcode_tag'],
'first_pass_match' => $data['first_pass_match'],
'first_pass_replace' => $data['first_pass_replace'],
'second_pass_match' => $data['second_pass_match'],
'second_pass_replace' => $data['second_pass_replace'],
));
]);

return $bbcode_data;
}
Expand Down

0 comments on commit 72a51c2

Please sign in to comment.