Skip to content
Permalink
Browse files

Merge string key based arrays with + operator.

  • Loading branch information...
dereuromark committed Sep 5, 2014
1 parent b35cc28 commit 27b321cd162c81880570092fc7483be55cd94aa7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Error/ErrorHandler.php
@@ -101,7 +101,7 @@ public function __construct($options = []) {
'trace' => false,
'exceptionRenderer' => 'Cake\Error\ExceptionRenderer',
];
$this->_options = array_merge($defaults, $options);
$this->_options = $options + $defaults;
}
/**

0 comments on commit 27b321c

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