Skip to content

Commit c4c7db8

Browse files
adamtomatjoelambert
authored andcommitted
Allow dot syntax when checking if a session has a value
1 parent 3f9c97e commit c4c7db8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Session/Store.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function all()
8989

9090
public function has($key)
9191
{
92-
return Arr::exists($this->attributes, $key);
92+
return Arr::has($this->attributes, $key);
9393
}
9494

9595
public function pull($key)

0 commit comments

Comments
 (0)