Skip to content

Commit

Permalink
[9.x] Fixed the Session missing() method description (laravel#8191)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenfai authored Sep 7, 2022
1 parent a91fe97 commit e3007d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ To determine if an item is present in the session, even if its value is `null`,
//
}

To determine if an item is not present in the session, you may use the `missing` method. The `missing` method returns `true` if the item is `null` or if the item is not present:
To determine if an item is not present in the session, you may use the `missing` method. The `missing` method returns `true` if the item is not present:

if ($request->session()->missing('users')) {
//
Expand Down

0 comments on commit e3007d8

Please sign in to comment.