From e14b82cef120998982ebbb80a39e92a650eb3cc8 Mon Sep 17 00:00:00 2001 From: madflow Date: Tue, 25 Oct 2022 14:54:39 +0200 Subject: [PATCH] add return types to doc blocks --- src/Data.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Data.php b/src/Data.php index 46e7f86..b068083 100644 --- a/src/Data.php +++ b/src/Data.php @@ -203,6 +203,8 @@ public function export(): array /** * {@inheritdoc} + * + * @return bool */ #[\ReturnTypeWillChange] public function offsetExists($key) @@ -212,6 +214,8 @@ public function offsetExists($key) /** * {@inheritdoc} + * + * @return mixed */ #[\ReturnTypeWillChange] public function offsetGet($key) @@ -224,6 +228,8 @@ public function offsetGet($key) * * @param string $key * @param mixed $value + * + * @return void */ #[\ReturnTypeWillChange] public function offsetSet($key, $value) @@ -233,6 +239,8 @@ public function offsetSet($key, $value) /** * {@inheritdoc} + * + * @return void */ #[\ReturnTypeWillChange] public function offsetUnset($key)