Completed
Push — master ( 9ad014...e10cfc )
by Beau
04:13
created
src/Dflydev/FigCookies/SetCookie.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -126,6 +126,9 @@  discard block
 block discarded – undo
126 126
         return $clone;
127 127
     }
128 128
 
129
+    /**
130
+     * @param boolean $secure
131
+     */
129 132
     public function withSecure($secure = null)
130 133
     {
131 134
         $clone = clone($this);
@@ -135,6 +138,9 @@  discard block
 block discarded – undo
135 138
         return $clone;
136 139
     }
137 140
 
141
+    /**
142
+     * @param boolean $httpOnly
143
+     */
138 144
     public function withHttpOnly($httpOnly = null)
139 145
     {
140 146
         $clone = clone($this);
@@ -160,6 +166,10 @@  discard block
 block discarded – undo
160 166
         return implode('; ', $cookieStringParts);
161 167
     }
162 168
 
169
+    /**
170
+     * @param string $name
171
+     * @param string $value
172
+     */
163 173
     public static function create($name, $value = null)
164 174
     {
165 175
         return new static($name, $value);
Please login to merge, or discard this patch.