Skip to content

Commit

Permalink
fix depreciation warning on WriteResponse (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
wiggels authored Jan 5, 2023
1 parent fef9aab commit 29feb7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/WriteResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public function offsetExists($offset): bool
* @param mixed $offset
* @return \DCarbone\PHPConsulAPI\Error|\DCarbone\PHPConsulAPI\WriteMeta|mixed|null
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
if (0 === $offset) {
Expand Down

0 comments on commit 29feb7d

Please sign in to comment.