Completed
Pull Request — master (#10)
by Franz
02:03
created
src/Dflydev/FigCookies/SetCookie.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -136,6 +136,9 @@  discard block
 block discarded – undo
136 136
         return $clone;
137 137
     }
138 138
 
139
+    /**
140
+     * @param boolean $secure
141
+     */
139 142
     public function withSecure($secure = null)
140 143
     {
141 144
         $clone = clone($this);
@@ -145,6 +148,9 @@  discard block
 block discarded – undo
145 148
         return $clone;
146 149
     }
147 150
 
151
+    /**
152
+     * @param boolean $httpOnly
153
+     */
148 154
     public function withHttpOnly($httpOnly = null)
149 155
     {
150 156
         $clone = clone($this);
@@ -180,6 +186,9 @@  discard block
 block discarded – undo
180 186
         return static::create($name, $value)->rememberForever();
181 187
     }
182 188
 
189
+    /**
190
+     * @param string $name
191
+     */
183 192
     public static function createExpired($name)
184 193
     {
185 194
         return static::create($name)->expire();
Please login to merge, or discard this patch.