Skip to content

Commit

Permalink
Add #[\ReturnTypeWillChange] attribute for PHP8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Sep 25, 2022
1 parent 6aa172e commit e82b3ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Console/OptionStack.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public function offsetExists($offset): bool
* @param mixed $offset
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
return $this->options[$offset] ?? '';
Expand Down

0 comments on commit e82b3ce

Please sign in to comment.