From eea04ff6e5f591bf976c962866e568b3d545aa58 Mon Sep 17 00:00:00 2001 From: NathanKertios <147404404+NathanKertios@users.noreply.github.com> Date: Mon, 13 May 2024 12:57:26 +0200 Subject: [PATCH] Update DelegatesToResource.php --- Resources/DelegatesToResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/DelegatesToResource.php b/Resources/DelegatesToResource.php index 04fd4372..72a1d7de 100644 --- a/Resources/DelegatesToResource.php +++ b/Resources/DelegatesToResource.php @@ -50,7 +50,7 @@ public function resolveRouteBinding($value) */ public function offsetExists($offset) { - return array_key_exists($offset, $this->resource); + return isset($this->resource); } /**