From f9acef5fe856c393a584b33c94643ca47949e238 Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Wed, 27 Sep 2017 06:27:59 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Plugin/CookiePlugin.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Plugin/CookiePlugin.php b/src/Plugin/CookiePlugin.php index 8519fce..7da9abf 100644 --- a/src/Plugin/CookiePlugin.php +++ b/src/Plugin/CookiePlugin.php @@ -125,26 +125,32 @@ private function createCookie(RequestInterface $request, $setCookie) ) ); } + break; case 'max-age': $maxAge = (int) $value; + break; case 'domain': $domain = $value; + break; case 'path': $path = $value; + break; case 'secure': $secure = true; + break; case 'httponly': $httpOnly = true; + break; } }