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