Skip to content

Commit a0c9f8b

Browse files
authored
Merge pull request #10 from sanovskiy/dev
Repository::toArray() fix
2 parents 4a43de6 + ce5a879 commit a0c9f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Repository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function toArray(): array
9393
{
9494
$result = [];
9595
foreach ($this->records as $key => $val) {
96-
if ($val instanceof self) {
96+
if ($val instanceof static) {
9797
$val = $val->toArray();
9898
}
9999
$result[$key] = $val;

0 commit comments

Comments
 (0)