From 391d6d0e7a06ab54eb7c38fab29b8d174471b3ba Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Fri, 23 Jul 2021 17:40:29 +0200 Subject: [PATCH] [4.4] Add missing `@return` annotations --- Cloner/Data.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Cloner/Data.php b/Cloner/Data.php index 21adb236..114bf50e 100644 --- a/Cloner/Data.php +++ b/Cloner/Data.php @@ -155,16 +155,25 @@ public function offsetExists($key) return $this->__isset($key); } + /** + * @return mixed + */ public function offsetGet($key) { return $this->__get($key); } + /** + * @return void + */ public function offsetSet($key, $value) { throw new \BadMethodCallException(self::class.' objects are immutable.'); } + /** + * @return void + */ public function offsetUnset($key) { throw new \BadMethodCallException(self::class.' objects are immutable.');