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 authored and joelambert committed Oct 1, 2021
1 parent 3f9c97e commit c4c7db8
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 c4c7db8

Please sign in to comment.