@@ -13,8 +13,6 @@ |
||
13 | 13 | namespace phpDocumentor\Reflection; |
14 | 14 | |
15 | 15 | use Mockery as m; |
16 | -use phpDocumentor\Reflection\DocBlock\Description; |
|
17 | -use phpDocumentor\Reflection\DocBlock\Tag; |
|
18 | 16 | use PHPUnit\Framework\TestCase; |
19 | 17 | |
20 | 18 | /** |
@@ -63,6 +63,9 @@ |
||
63 | 63 | |
64 | 64 | /** |
65 | 65 | * {@inheritdoc} |
66 | + * @param TypeResolver $typeResolver |
|
67 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
68 | + * @param TypeContext $context |
|
66 | 69 | */ |
67 | 70 | public static function create( |
68 | 71 | string $body, |
@@ -137,6 +137,7 @@ discard block |
||
137 | 137 | |
138 | 138 | /** |
139 | 139 | * {@inheritDoc} |
140 | + * @param TypeContext $context |
|
140 | 141 | */ |
141 | 142 | public function create(string $tagLine, ?TypeContext $context = null) : ?Tag |
142 | 143 | { |
@@ -257,7 +258,7 @@ discard block |
||
257 | 258 | * @param ReflectionParameter[] $parameters |
258 | 259 | * @param mixed[] $locator |
259 | 260 | * |
260 | - * @return mixed[] A series of values that can be passed to the Factory Method of the tag whose parameters |
|
261 | + * @return callable A series of values that can be passed to the Factory Method of the tag whose parameters |
|
261 | 262 | * is provided with this method. |
262 | 263 | */ |
263 | 264 | private function getArgumentsForParametersFromWiring(array $parameters, array $locator) : array |
@@ -74,6 +74,7 @@ |
||
74 | 74 | /** |
75 | 75 | * @param object|string $docblock A string containing the DocBlock to parse or an object supporting the |
76 | 76 | * getDocComment method (such as a ReflectionClass object). |
77 | + * @param Types\Context $context |
|
77 | 78 | */ |
78 | 79 | public function create($docblock, ?Types\Context $context = null, ?Location $location = null) : DocBlock |
79 | 80 | { |
@@ -63,6 +63,9 @@ |
||
63 | 63 | |
64 | 64 | /** |
65 | 65 | * {@inheritdoc} |
66 | + * @param TypeResolver $typeResolver |
|
67 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
68 | + * @param TypeContext $context |
|
66 | 69 | */ |
67 | 70 | public static function create( |
68 | 71 | string $body, |
@@ -63,6 +63,9 @@ |
||
63 | 63 | |
64 | 64 | /** |
65 | 65 | * {@inheritdoc} |
66 | + * @param TypeResolver $typeResolver |
|
67 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
68 | + * @param TypeContext $context |
|
66 | 69 | */ |
67 | 70 | public static function create( |
68 | 71 | string $body, |
@@ -63,6 +63,9 @@ |
||
63 | 63 | |
64 | 64 | /** |
65 | 65 | * {@inheritdoc} |
66 | + * @param TypeResolver $typeResolver |
|
67 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
68 | + * @param TypeContext $context |
|
66 | 69 | */ |
67 | 70 | public static function create( |
68 | 71 | string $body, |
@@ -63,6 +63,9 @@ |
||
63 | 63 | |
64 | 64 | /** |
65 | 65 | * {@inheritdoc} |
66 | + * @param TypeResolver $typeResolver |
|
67 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
68 | + * @param TypeContext $context |
|
66 | 69 | */ |
67 | 70 | public static function create( |
68 | 71 | string $body, |
@@ -63,6 +63,9 @@ |
||
63 | 63 | |
64 | 64 | /** |
65 | 65 | * {@inheritdoc} |
66 | + * @param TypeResolver $typeResolver |
|
67 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
68 | + * @param TypeContext $context |
|
66 | 69 | */ |
67 | 70 | public static function create( |
68 | 71 | string $body, |