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); } /**