Passed
Push — develop ( 19c6b2...4d6c26 )
by nguereza
11:48
created
src/CookieInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
      *
151 151
      * @return CookieInterface
152 152
      */
153
-    public function withExpires(int|string|DateTimeInterface|null $expire = null): self;
153
+    public function withExpires(int | string | DateTimeInterface | null $expire = null): self;
154 154
 
155 155
     /**
156 156
      * Return the domain of the cookie
Please login to merge, or discard this patch.
src/Cookie.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     public function __construct(
130 130
         string $name,
131 131
         string $value = '',
132
-        int|string|DateTimeInterface|null $expire = null,
132
+        int | string | DateTimeInterface | null $expire = null,
133 133
         ?string $domain = null,
134 134
         ?string $path = '/',
135 135
         ?bool $secure = true,
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
     /**
224 224
      * {@inheritdoc}
225 225
      */
226
-    public function withExpires(int|string|DateTimeInterface|null $expire = null): self
226
+    public function withExpires(int | string | DateTimeInterface | null $expire = null): self
227 227
     {
228 228
         if ($expire === $this->expires) {
229 229
             return $this;
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
      * Set the cookie expires
441 441
      * @param int|string|DateTimeInterface|null $expire
442 442
      */
443
-    private function setExpires(int|string|DateTimeInterface|null $expire): self
443
+    private function setExpires(int | string | DateTimeInterface | null $expire): self
444 444
     {
445 445
         if ($expire === null || (is_string($expire) && empty($expire))) {
446 446
             $expire = 0;
Please login to merge, or discard this patch.