Skip to content

Commit

Permalink
Fix #422 PHP 8.1 compatibility / deprecation warnings (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
m2mtech authored and bytehead committed Jul 25, 2022
1 parent a658021 commit 34d2204
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Uploader/Response/AbstractResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public function offsetUnset($offset): void
*
* @return mixed|null
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return $this->data[$offset] ?? null;
Expand Down

0 comments on commit 34d2204

Please sign in to comment.