Skip to content

Commit

Permalink
update cell to cast json obj to array
Browse files Browse the repository at this point in the history
  • Loading branch information
Infamoustrey committed Dec 30, 2020
1 parent 16a76e5 commit a34402e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/Row.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function getCell(string $columnName)
public function getCells(): Collection
{
return collect($this->cells)->map(function ($cell) {
return new Cell($this->client, $cell);
return new Cell($this->client, (array) $cell);
});
}

Expand Down

0 comments on commit a34402e

Please sign in to comment.