From c4c7db8c37c58cd3595bdf99e65cfc08f3174ddd Mon Sep 17 00:00:00 2001 From: Adam Tomat Date: Thu, 3 Jun 2021 17:00:50 +0100 Subject: [PATCH] Allow dot syntax when checking if a session has a value --- src/Session/Store.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Session/Store.php b/src/Session/Store.php index 9c58b64..483160a 100644 --- a/src/Session/Store.php +++ b/src/Session/Store.php @@ -89,7 +89,7 @@ public function all() public function has($key) { - return Arr::exists($this->attributes, $key); + return Arr::has($this->attributes, $key); } public function pull($key)