Skip to content

Commit

Permalink
change constructor default
Browse files Browse the repository at this point in the history
  • Loading branch information
gong023 committed Oct 14, 2015
1 parent 5d103f7 commit 8ef2892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReadableAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

trait ReadableAttributes
{
public function __construct(array $attributes)
public function __construct(array $attributes = [])
{
$this->attributes = new Container($attributes);
}
Expand Down

0 comments on commit 8ef2892

Please sign in to comment.