@@ -297,13 +297,13 @@ |
||
297 | 297 | /** |
298 | 298 | * Set content of $cookie from array $properties |
299 | 299 | * |
300 | - * @param \Comodojo\Cookies\CookieInterface\CookieInterface $cookie |
|
300 | + * @param CookieInterface $cookie |
|
301 | 301 | * |
302 | 302 | * @param array $properties Array of properties cookie should have |
303 | 303 | * |
304 | 304 | * @param boolean $serialize |
305 | 305 | * |
306 | - * @return \Comodojo\Cookies\CookieBase |
|
306 | + * @return CookieInterface |
|
307 | 307 | */ |
308 | 308 | protected static function cookieProperties(CookieInterface $cookie, $properties, $serialize) { |
309 | 309 |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | * |
87 | 87 | * @param CookieInterface|string $cookie |
88 | 88 | * |
89 | - * @return static |
|
89 | + * @return boolean |
|
90 | 90 | */ |
91 | 91 | public function has($cookie) { |
92 | 92 | |
@@ -101,6 +101,7 @@ discard block |
||
101 | 101 | /** |
102 | 102 | * @deprecated 2.1.0 |
103 | 103 | * @see CookieManager::has() |
104 | + * @param string $cookie |
|
104 | 105 | */ |
105 | 106 | public function isRegistered($cookie) { |
106 | 107 | return $this->has($cookie); |
@@ -151,7 +152,7 @@ discard block |
||
151 | 152 | /** |
152 | 153 | * Save all registered cookies |
153 | 154 | * |
154 | - * @return static |
|
155 | + * @return boolean |
|
155 | 156 | */ |
156 | 157 | public function save() { |
157 | 158 |