[BrowserKit] Fix Cookie's PHPDoc

This commit is contained in:
Kévin Dunglas 2018-03-16 16:11:23 +01:00
parent 3a3f7b6532
commit 4ac5d3c315
No known key found for this signature in database
GPG Key ID: 4D04EBEF06AAF3A6

View File

@ -46,8 +46,8 @@ class Cookie
*
* @param string $name The cookie name
* @param string $value The value of the cookie
* @param string $expires The time the cookie expires
* @param string $path The path on the server in which the cookie will be available on
* @param string|null $expires The time the cookie expires
* @param string|null $path The path on the server in which the cookie will be available on
* @param string $domain The domain that the cookie is available
* @param bool $secure Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client
* @param bool $httponly The cookie httponly flag
@ -113,7 +113,7 @@ class Cookie
* Creates a Cookie instance from a Set-Cookie header value.
*
* @param string $cookie A Set-Cookie header value
* @param string $url The base URL
* @param string|null $url The base URL
*
* @return static
*
@ -242,7 +242,7 @@ class Cookie
/**
* Gets the expires time of the cookie.
*
* @return string The cookie expires time
* @return string|null The cookie expires time
*/
public function getExpiresTime()
{