Browse Source
refactor(RequestHeader): Make parameter types stricter
Signed-off-by: provokateurin <kate@provokateurin.de>
pull/53283/head
provokateurin
5 months ago
Failed to extract signature
1 changed files with
2 additions and
2 deletions
-
lib/public/AppFramework/Http/Attribute/RequestHeader.php
|
|
|
@ -21,8 +21,8 @@ use Attribute; |
|
|
|
#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)]
|
|
|
|
class RequestHeader { |
|
|
|
/** |
|
|
|
* @param string $name The name of the request header |
|
|
|
* @param string $description The description of the request header |
|
|
|
* @param lowercase-string $name The name of the request header |
|
|
|
* @param non-empty-string $description The description of the request header |
|
|
|
*/ |
|
|
|
public function __construct( |
|
|
|
protected string $name, |
|
|
|
|