Skip to content

Commit aa61a7b

Browse files
authored
clarification added (#19220)
1 parent 2861121 commit aa61a7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: framework/web/CookieCollection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function getValue($name, $defaultValue = null)
106106

107107
/**
108108
* Returns whether there is a cookie with the specified name.
109-
* Note that if a cookie is marked for deletion from browser, this method will return false.
109+
* Note that if a cookie is marked for deletion from browser or its value is an empty string, this method will return false.
110110
* @param string $name the cookie name
111111
* @return bool whether the named cookie exists
112112
* @see remove()

0 commit comments

Comments
 (0)