Skip to content
Permalink
Browse files

Use short array syntax.

  • Loading branch information...
markstory committed Mar 6, 2014
1 parent bc8ab57 commit 14fca9b0fc6fee01c08018995c2a343cecc7058d
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/View/Helper/SessionHelper.php
@@ -140,8 +140,7 @@ public function error() {
* @return string
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/session.html#SessionHelper::flash
*/
public function flash($key = 'flash', $attrs = array()) {
public function flash($key = 'flash', $attrs = []) {
if (!Session::check('Message.' . $key)) {
return '';
}

0 comments on commit 14fca9b

Please sign in to comment.
You can’t perform that action at this time.