Permalink
Browse files

Make default match typehint.

  • Loading branch information...
1 parent 2d7e291 commit dbd7faf11cd1d0f959189466e37fd488e76ae11c @markstory markstory committed Jan 19, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/View/Input/InputRegistry.php
@@ -61,7 +61,7 @@ class InputRegistry {
* @param StringTemplate $templates Templates instance to use.
* @param array $widgets See add() method for more information.
*/
- public function __construct(StringTemplate $templates, array $widgets = null) {
+ public function __construct(StringTemplate $templates, array $widgets = []) {
$this->_templates = $templates;
if (!empty($widgets)) {
$this->add($widgets);

0 comments on commit dbd7faf

Please sign in to comment.