Skip to content

Commit

Permalink
Fix __construct
Browse files Browse the repository at this point in the history
  • Loading branch information
mvaliolahi committed Oct 17, 2021
1 parent 3a8134d commit d2a294c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/SmartHash.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ trait SmartHash
{
public function __construct(array $attributes = [])
{
parent::__construct($attributes);
$this->hidden[] = 'id';
$this->appends[] = 'hash_id';
parent::__construct($attributes);
}

public function id(): int
Expand Down

0 comments on commit d2a294c

Please sign in to comment.