mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 06:37:56 -04:00
refactor(RequestHeader): Make parameter types stricter
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
18e04e1c5a
commit
727b0c853c
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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue