@@ -35,6 +35,9 @@ discard block |
||
| 35 | 35 | /** @var string|null */ |
| 36 | 36 | protected $variableName; |
| 37 | 37 | |
| 38 | + /** |
|
| 39 | + * @param string $variableName |
|
| 40 | + */ |
|
| 38 | 41 | public function __construct(?string $variableName, ?Type $type = null, ?Description $description = null) |
| 39 | 42 | { |
| 40 | 43 | Assert::string($variableName); |
@@ -45,6 +48,10 @@ discard block |
||
| 45 | 48 | $this->description = $description; |
| 46 | 49 | } |
| 47 | 50 | |
| 51 | + /** |
|
| 52 | + * @param TypeResolver $typeResolver |
|
| 53 | + * @param TypeContext $context |
|
| 54 | + */ |
|
| 48 | 55 | public static function create( |
| 49 | 56 | string $body, |
| 50 | 57 | ?TypeResolver $typeResolver = null, |
@@ -35,6 +35,9 @@ discard block |
||
| 35 | 35 | /** @var string */ |
| 36 | 36 | protected $variableName; |
| 37 | 37 | |
| 38 | + /** |
|
| 39 | + * @param string $variableName |
|
| 40 | + */ |
|
| 38 | 41 | public function __construct(?string $variableName, ?Type $type = null, ?Description $description = null) |
| 39 | 42 | { |
| 40 | 43 | Assert::string($variableName); |
@@ -45,6 +48,10 @@ discard block |
||
| 45 | 48 | $this->description = $description; |
| 46 | 49 | } |
| 47 | 50 | |
| 51 | + /** |
|
| 52 | + * @param TypeResolver $typeResolver |
|
| 53 | + * @param TypeContext $context |
|
| 54 | + */ |
|
| 48 | 55 | public static function create( |
| 49 | 56 | string $body, |
| 50 | 57 | ?TypeResolver $typeResolver = null, |
@@ -35,6 +35,9 @@ discard block |
||
| 35 | 35 | /** @var string|null */ |
| 36 | 36 | protected $variableName = ''; |
| 37 | 37 | |
| 38 | + /** |
|
| 39 | + * @param string $variableName |
|
| 40 | + */ |
|
| 38 | 41 | public function __construct(?string $variableName, ?Type $type = null, ?Description $description = null) |
| 39 | 42 | { |
| 40 | 43 | Assert::string($variableName); |
@@ -45,6 +48,10 @@ discard block |
||
| 45 | 48 | $this->description = $description; |
| 46 | 49 | } |
| 47 | 50 | |
| 51 | + /** |
|
| 52 | + * @param TypeResolver $typeResolver |
|
| 53 | + * @param TypeContext $context |
|
| 54 | + */ |
|
| 48 | 55 | public static function create( |
| 49 | 56 | string $body, |
| 50 | 57 | ?TypeResolver $typeResolver = null, |
@@ -35,6 +35,9 @@ discard block |
||
| 35 | 35 | /** @var string|null */ |
| 36 | 36 | protected $variableName; |
| 37 | 37 | |
| 38 | + /** |
|
| 39 | + * @param string $variableName |
|
| 40 | + */ |
|
| 38 | 41 | public function __construct(?string $variableName, ?Type $type = null, ?Description $description = null) |
| 39 | 42 | { |
| 40 | 43 | Assert::string($variableName); |
@@ -45,6 +48,10 @@ discard block |
||
| 45 | 48 | $this->description = $description; |
| 46 | 49 | } |
| 47 | 50 | |
| 51 | + /** |
|
| 52 | + * @param TypeResolver $typeResolver |
|
| 53 | + * @param TypeContext $context |
|
| 54 | + */ |
|
| 48 | 55 | public static function create( |
| 49 | 56 | string $body, |
| 50 | 57 | ?TypeResolver $typeResolver = null, |