Skip to content

Commit e7d71cc

Browse files
authored
Merge pull request #1 from evgeek/fix-deprecation-warning
Suppress deprecation warning
2 parents 69eb013 + aded561 commit e7d71cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Database/Eloquent/Model.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,7 @@ public function offsetExists($offset): bool
641641
*
642642
* @return mixed
643643
*/
644+
#[\ReturnTypeWillChange]
644645
public function offsetGet($offset)
645646
{
646647
return $this->getAttribute($offset);

0 commit comments

Comments
 (0)