"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Symfony/Component/BrowserKit/Cookie.php" between
symfony-4.4.14.tar.gz and symfony-4.4.15.tar.gz

About: Symfony is a web application framework for PHP projects. Source code (4.4 series).

Cookie.php  (symfony-4.4.14):Cookie.php  (symfony-4.4.15)
skipping to change at line 312 skipping to change at line 312
return $this->httponly; return $this->httponly;
} }
/** /**
* Returns true if the cookie has expired. * Returns true if the cookie has expired.
* *
* @return bool true if the cookie has expired, false otherwise * @return bool true if the cookie has expired, false otherwise
*/ */
public function isExpired() public function isExpired()
{ {
return null !== $this->expires && 0 != $this->expires && $this->expires < time(); return null !== $this->expires && 0 != $this->expires && $this->expires <= time();
} }
/** /**
* Gets the samesite attribute of the cookie. * Gets the samesite attribute of the cookie.
* *
* @return string|null The cookie samesite attribute * @return string|null The cookie samesite attribute
*/ */
public function getSameSite(): ?string public function getSameSite(): ?string
{ {
return $this->samesite; return $this->samesite;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)