Skip to content

Commit

Permalink
Allow dot syntax when checking if a session has a value
Browse files Browse the repository at this point in the history
  • Loading branch information
adamtomat committed Jun 3, 2021
1 parent d877406 commit 7f586de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Session/Store.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7f586de

Please sign in to comment.