Completed
Pull Request — master (#27)
by
unknown
04:26
created
src/Dflydev/FigCookies/SetCookie.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -166,11 +166,11 @@  discard block
 block discarded – undo
166 166
 
167 167
     public function __toString()
168 168
     {
169
-        if($this->urlEncode){
169
+        if ($this->urlEncode) {
170 170
             $cookieStringParts = [
171 171
                 urlencode($this->name).'='.urlencode($this->value),
172 172
             ];
173
-        }else{
173
+        } else {
174 174
             $cookieStringParts = [
175 175
                 $this->name.'='.$this->value,
176 176
             ];
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
         /** @var SetCookie $setCookie */
211 211
         $setCookie = new static($cookieName);
212 212
 
213
-        if (! is_null($cookieValue)) {
213
+        if (!is_null($cookieValue)) {
214 214
             $setCookie = $setCookie->withValue($cookieValue);
215 215
         }
216 216
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
170 170
             $cookieStringParts = [
171 171
                 urlencode($this->name).'='.urlencode($this->value),
172 172
             ];
173
-        }else{
173
+        } else{
174 174
             $cookieStringParts = [
175 175
                 $this->name.'='.$this->value,
176 176
             ];
Please login to merge, or discard this patch.