refactor(RequestHeader): Make parameter types stricter

Signed-off-by: provokateurin <kate@provokateurin.de>
pull/53283/head
provokateurin 2025-06-03 11:06:39 +07:00
parent 18e04e1c5a
commit 727b0c853c
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

@ -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,