| @@ -1,8 +1,6 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); | |
| 4 | - | |
| 5 | 3 | namespace Depicter\Psr\Http\Message; |
| 6 | 4 | |
| 7 | 5 | /** |
| 8 | 6 | * Representation of an incoming, server-side HTTP request. |
| @@ -225,9 +223,9 @@ | ||
| 225 | 223 | * @param string $name The attribute name. |
| 226 | 224 | * @param mixed $default Default value to return if the attribute does not exist. |
| 227 | 225 | * @return mixed |
| 228 | 226 | */ |
| 229 | - public function getAttribute(string $name, $default = null); | |
| 227 | + public function getAttribute($name, $default = null); | |
| 230 | 228 | |
| 231 | 229 | /** |
| 232 | 230 | * Return an instance with the specified derived request attribute. |
| 233 | 231 | * |
| @@ -242,9 +240,9 @@ | ||
| 242 | 240 | * @param string $name The attribute name. |
| 243 | 241 | * @param mixed $value The value of the attribute. |
| 244 | 242 | * @return static |
| 245 | 243 | */ |
| 246 | - public function withAttribute(string $name, $value); | |
| 244 | + public function withAttribute($name, $value); | |
| 247 | 245 | |
| 248 | 246 | /** |
| 249 | 247 | * Return an instance that removes the specified derived request attribute. |
| 250 | 248 | * |
| @@ -258,6 +256,6 @@ | ||
| 258 | 256 | * @see getAttributes() |
| 259 | 257 | * @param string $name The attribute name. |
| 260 | 258 | * @return static |
| 261 | 259 | */ |
| 262 | - public function withoutAttribute(string $name); | |
| 260 | + public function withoutAttribute($name); | |
| 263 | 261 | } |