Skip to content

Commit 7d37fac

Browse files
committed
Require $key
1 parent 2c11ada commit 7d37fac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Annotation/AbstractWebContextParam.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ abstract class AbstractWebContextParam implements NamedArgumentConstructorAnnota
2828
*/
2929
public $param;
3030

31-
public function __construct(string $key = '', string $param = '')
31+
public function __construct(string $key, string $param = '')
3232
{
3333
$this->key = $key;
3434
$this->param = $param;

0 commit comments

Comments
 (0)