Skip to content

Commit

Permalink
change array syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Apr 11, 2014
1 parent bcb7d79 commit 0f70541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Helper/HtmlHelper.php
Expand Up @@ -1088,7 +1088,7 @@ public function media($path, array $options = array()) {
* @return string The nested list
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/html.html#HtmlHelper::nestedList
*/
public function nestedList(array $list, array $options = array(), array $itemOptions = array(), $tag = 'ul') {
public function nestedList(array $list, array $options = [], array $itemOptions = [], $tag = 'ul') {
$items = $this->_nestedListItem($list, $options, $itemOptions, $tag);
return $this->formatTemplate($tag, [
'attrs' => $this->templater()->formatAttributes($options),
Expand Down

0 comments on commit 0f70541

Please sign in to comment.