Skip to content

Commit

Permalink
Fixed critical bug in Repository::__constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
sanovskiy committed Aug 17, 2022
1 parent 11c6476 commit 56ac56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static function fromArray(array $data): static
public function __construct(array $data)
{
foreach ($data as $key => $val) {
$this->records['$key'] = $val;
$this->records[$key] = $val;
}
$this->init();
}
Expand Down

0 comments on commit 56ac56a

Please sign in to comment.