Passed
Push — develop ( 19c6b2...4d6c26 )
by nguereza
11:48
created
src/CookieManager.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
  * @class CookieManager
54 54
  * @package Platine\Cookie
55 55
  */
56
-class CookieManager implements CookieManagerInterface
57
-{
56
+class CookieManager implements CookieManagerInterface {
58 57
     /**
59 58
      * The cookies
60 59
      * @var CookieInterface[]
@@ -65,8 +64,7 @@  discard block
 block discarded – undo
65 64
      * Create new instance
66 65
      * @param CookieInterface[] $cookies the default cookies to store
67 66
      */
68
-    public function __construct(array $cookies = [])
69
-    {
67
+    public function __construct(array $cookies = []) {
70 68
         foreach ($cookies as $cookie) {
71 69
             $this->add($cookie);
72 70
         }
Please login to merge, or discard this patch.
src/Middleware/CookieSendMiddleware.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
  * @class CookieSendMiddleware
58 58
  * @package Platine\Cookie\Middleware
59 59
  */
60
-class CookieSendMiddleware implements MiddlewareInterface
61
-{
60
+class CookieSendMiddleware implements MiddlewareInterface {
62 61
     /**
63 62
      * Create new instance
64 63
      * @param CookieManagerInterface $cookies The cookie manager instance
Please login to merge, or discard this patch.
src/CookieManagerInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * @class CookieManagerInterface
54 54
  * @package Platine\Cookie
55 55
  */
56
-interface CookieManagerInterface
57
-{
56
+interface CookieManagerInterface {
58 57
     /**
59 58
      * Set the cookie
60 59
      *
Please login to merge, or discard this patch.
src/Cookie.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * @class Cookie
55 55
  * @package Platine\Cookie
56 56
  */
57
-class Cookie implements CookieInterface
58
-{
57
+class Cookie implements CookieInterface {
59 58
     /**
60 59
      * The name of the cookie
61 60
      *
Please login to merge, or discard this patch.