From e82b3ce120b88043e229e8ef6c9e41cdc5058041 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Sun, 25 Sep 2022 21:42:59 +0100 Subject: [PATCH] Add #[\ReturnTypeWillChange] attribute for PHP8.1 --- src/Console/OptionStack.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Console/OptionStack.php b/src/Console/OptionStack.php index 1d17a60..9a60c2a 100644 --- a/src/Console/OptionStack.php +++ b/src/Console/OptionStack.php @@ -63,6 +63,7 @@ public function offsetExists($offset): bool * @param mixed $offset * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return $this->options[$offset] ?? '';