Skip to content

Commit

Permalink
short array defined
Browse files Browse the repository at this point in the history
  • Loading branch information
eather009 committed Feb 25, 2017
1 parent c129b1e commit 0ad97a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Helper/PaginatorHelper.php
Expand Up @@ -1189,7 +1189,7 @@ public function limitControl(array $limits = [], $default = null, array $options
}

if (empty($limits)) {
$limits += array('0' => __('All'), '20' => '20', '50' => '50', '100' => '100');
$limits += ['0' => __('All'), '20' => '20', '50' => '50', '100' => '100'];
}

if (!in_array($default, $limits)) {
Expand Down

0 comments on commit 0ad97a6

Please sign in to comment.