Skip to content

Commit

Permalink
Merge pull request #215 from sakalauskas/patch-1
Browse files Browse the repository at this point in the history
Invalid NotificationCategory constructor
  • Loading branch information
Gummibeer authored Sep 29, 2016
2 parents 9f7ef03 + 3da7191 commit 0f8eb26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Notifynder/Models/NotificationCategory.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class NotificationCategory extends Model
*/
public $timestamps = false;

public function __construct(array $attributes)
public function __construct(array $attributes = [])
{
$attributes = array_merge([
'text' => '',
Expand Down

0 comments on commit 0f8eb26

Please sign in to comment.