We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6d4c21 commit dd90f8eCopy full SHA for dd90f8e
README.md
@@ -64,6 +64,7 @@ $user= $first->orUse(function() { return $this->currentUser(); });
64
$name= $first
65
->filter(function($user) { return !$user->isDeleted(); })
66
->whenNull($this->currentUser)
67
+ ->whenNull(function() { return $this->guestUser(); })
68
->map('com.example.User::name')
69
->get()
70
;
0 commit comments