Skip to content

Commit 29feb7d

Browse files
authored
fix depreciation warning on WriteResponse (#32)
1 parent fef9aab commit 29feb7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/WriteResponse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public function offsetExists($offset): bool
4141
* @param mixed $offset
4242
* @return \DCarbone\PHPConsulAPI\Error|\DCarbone\PHPConsulAPI\WriteMeta|mixed|null
4343
*/
44+
#[\ReturnTypeWillChange]
4445
public function offsetGet($offset)
4546
{
4647
if (0 === $offset) {

0 commit comments

Comments
 (0)