@@ -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, |
@@ -41,6 +41,11 @@ |
||
41 | 41 | $this->description = $description; |
42 | 42 | } |
43 | 43 | |
44 | + /** |
|
45 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
46 | + * @param \Mockery\LegacyMockInterface $resolver |
|
47 | + * @param TypeContext $context |
|
48 | + */ |
|
44 | 49 | public static function create( |
45 | 50 | string $body, |
46 | 51 | ?DescriptionFactory $descriptionFactory = null, |
@@ -43,6 +43,8 @@ |
||
43 | 43 | /** |
44 | 44 | * Creates a new tag that represents any unknown tag type. |
45 | 45 | * |
46 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
47 | + * @param TypeContext $context |
|
46 | 48 | * @return static |
47 | 49 | */ |
48 | 50 | public static function create( |
@@ -39,6 +39,10 @@ |
||
39 | 39 | $this->description = $description; |
40 | 40 | } |
41 | 41 | |
42 | + /** |
|
43 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
44 | + * @param TypeContext $context |
|
45 | + */ |
|
42 | 46 | public static function create( |
43 | 47 | string $body, |
44 | 48 | ?DescriptionFactory $descriptionFactory = null, |
@@ -44,6 +44,10 @@ |
||
44 | 44 | $this->description = $description; |
45 | 45 | } |
46 | 46 | |
47 | + /** |
|
48 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
49 | + * @param TypeContext $context |
|
50 | + */ |
|
47 | 51 | public static function create( |
48 | 52 | string $body, |
49 | 53 | ?FqsenResolver $typeResolver = null, |
@@ -47,6 +47,10 @@ |
||
47 | 47 | $this->description = $description; |
48 | 48 | } |
49 | 49 | |
50 | + /** |
|
51 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
52 | + * @param TypeContext $context |
|
53 | + */ |
|
50 | 54 | public static function create( |
51 | 55 | string $body, |
52 | 56 | ?DescriptionFactory $descriptionFactory = null, |
@@ -41,6 +41,10 @@ |
||
41 | 41 | $this->description = $description; |
42 | 42 | } |
43 | 43 | |
44 | + /** |
|
45 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
46 | + * @param TypeContext $context |
|
47 | + */ |
|
44 | 48 | public static function create( |
45 | 49 | string $body, |
46 | 50 | ?FqsenResolver $resolver = null, |
@@ -46,6 +46,9 @@ discard block |
||
46 | 46 | /** @var string|null The version vector. */ |
47 | 47 | private $version; |
48 | 48 | |
49 | + /** |
|
50 | + * @param string $version |
|
51 | + */ |
|
49 | 52 | public function __construct(?string $version = null, ?Description $description = null) |
50 | 53 | { |
51 | 54 | Assert::nullOrStringNotEmpty($version); |
@@ -54,6 +57,11 @@ discard block |
||
54 | 57 | $this->description = $description; |
55 | 58 | } |
56 | 59 | |
60 | + /** |
|
61 | + * @param string $body |
|
62 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
63 | + * @param TypeContext $context |
|
64 | + */ |
|
57 | 65 | public static function create( |
58 | 66 | ?string $body, |
59 | 67 | ?DescriptionFactory $descriptionFactory = null, |