Skip to content

Commit

Permalink
Merge pull request #78 from daryledesilva/patch-1
Browse files Browse the repository at this point in the history
Fix Call to undefined function array_get
  • Loading branch information
jarektkaczyk authored Jan 31, 2023
2 parents 074dce1 + ad33fd2 commit 9807845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Laravel/Revision.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public function getNewAttribute($new)
*/
protected function getFromArray($version, $key)
{
return array_get($this->{$version}, $key);
return \Illuminate\Support\Arr::get($this->{$version}, $key);
}

/**
Expand Down

0 comments on commit 9807845

Please sign in to comment.