mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
Fixed phpdoc types
This commit is contained in:
@ -83,7 +83,7 @@ class CookieCollection extends BaseObject implements \IteratorAggregate, \ArrayA
|
||||
/**
|
||||
* Returns the cookie with the specified name.
|
||||
* @param string $name the cookie name
|
||||
* @return Cookie the cookie with the specified name. Null if the named cookie does not exist.
|
||||
* @return Cookie|null the cookie with the specified name. Null if the named cookie does not exist.
|
||||
* @see getValue()
|
||||
*/
|
||||
public function get($name)
|
||||
|
||||
@ -141,7 +141,7 @@ class HeaderCollection extends BaseObject implements \IteratorAggregate, \ArrayA
|
||||
/**
|
||||
* Removes a header.
|
||||
* @param string $name the name of the header to be removed.
|
||||
* @return array the value of the removed header. Null is returned if the header does not exist.
|
||||
* @return array|null the value of the removed header. Null is returned if the header does not exist.
|
||||
*/
|
||||
public function remove($name)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user