Skip to content

Commit 9807845

Browse files
authoredJan 31, 2023
Merge pull request #78 from daryledesilva/patch-1
Fix Call to undefined function array_get
2 parents 074dce1 + ad33fd2 commit 9807845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Laravel/Revision.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function getNewAttribute($new)
142142
*/
143143
protected function getFromArray($version, $key)
144144
{
145-
return array_get($this->{$version}, $key);
145+
return \Illuminate\Support\Arr::get($this->{$version}, $key);
146146
}
147147

148148
/**

0 commit comments

Comments
 (0)
Please sign in to comment.