From eedaa8dd7ed75a04f348dd904dfee111b3590fcb Mon Sep 17 00:00:00 2001 From: Abdul Kaioum Date: Sat, 5 Sep 2026 15:28:04 +0600 Subject: [PATCH] fix: php deprecation warning --- src/InputDataContainer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InputDataContainer.php b/src/InputDataContainer.php index cc582b8..71d2b5c 100644 --- a/src/InputDataContainer.php +++ b/src/InputDataContainer.php @@ -34,7 +34,7 @@ public function getAttributeValue($key = null) if (count($keys) > 1) { $data = $this->getValueFromPath($keys, $data); - } elseif (isset($data[$key])) { + } elseif ($key && isset($data[$key])) { return $data[$key]; } elseif (isset($data[$this->attributeKey])) { return $data[$this->attributeKey];