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 committed Jul 25, 2022
1 parent 461e503 commit b11ea20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Uploader/Response/AbstractResponse.php
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 b11ea20

Please sign in to comment.