Fixed phpdoc types

This commit is contained in:
Dmitry Eliseev
2021-03-12 23:41:48 +03:00
committed by GitHub
parent cfe782b3f5
commit 4479c66522
8 changed files with 8 additions and 8 deletions

View File

@ -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)

View File

@ -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)
{