@@ -145,13 +145,13 @@ discard block |
||
| 145 | 145 | /** |
| 146 | 146 | * get path |
| 147 | 147 | */ |
| 148 | -echo "Path: " . $cookie->getPath(); |
|
| 148 | +echo "Path: " . $cookie->getPath(); |
|
| 149 | 149 | echo "<br><br>"; |
| 150 | 150 | |
| 151 | 151 | /** |
| 152 | 152 | * get domain |
| 153 | 153 | */ |
| 154 | -echo "Domain: " . $cookie->getDomain(); |
|
| 154 | +echo "Domain: " . $cookie->getDomain(); |
|
| 155 | 155 | echo "<br><br>"; |
| 156 | 156 | |
| 157 | 157 | /** |
@@ -176,7 +176,7 @@ discard block |
||
| 176 | 176 | /* |
| 177 | 177 | * check if exists cookie and delete cookie |
| 178 | 178 | */ |
| 179 | -if($cookie->hasCookie()){ |
|
| 179 | +if ($cookie->hasCookie()) { |
|
| 180 | 180 | var_dump($cookie); |
| 181 | 181 | } |
| 182 | 182 | |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | * Return the values of the cookie |
| 60 | 60 | * @return string|null the value of the cookie that will be stored on the client's machine |
| 61 | 61 | */ |
| 62 | - public function getValue(): null|string |
|
| 62 | + public function getValue(): null | string |
|
| 63 | 63 | { |
| 64 | 64 | return $this->value; |
| 65 | 65 | } |