@@ -56,6 +56,11 @@ |
||
| 56 | 56 | $this->isReference = $isReference; |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | + /** |
|
| 60 | + * @param TypeResolver $typeResolver |
|
| 61 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
| 62 | + * @param TypeContext $context |
|
| 63 | + */ |
|
| 59 | 64 | public static function create( |
| 60 | 65 | string $body, |
| 61 | 66 | ?TypeResolver $typeResolver = null, |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | use phpDocumentor\Reflection\Type; |
| 19 | 19 | use phpDocumentor\Reflection\TypeResolver; |
| 20 | 20 | use phpDocumentor\Reflection\Types\Context as TypeContext; |
| 21 | -use phpDocumentor\Reflection\Utils; |
|
| 22 | 21 | use Webmozart\Assert\Assert; |
| 23 | 22 | use function array_shift; |
| 24 | 23 | use function array_unshift; |
@@ -56,6 +56,11 @@ |
||
| 56 | 56 | $this->isReference = $isReference; |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | + /** |
|
| 60 | + * @param TypeResolver $typeResolver |
|
| 61 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
| 62 | + * @param TypeContext $context |
|
| 63 | + */ |
|
| 59 | 64 | public static function create( |
| 60 | 65 | string $body, |
| 61 | 66 | ?TypeResolver $typeResolver = null, |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | use phpDocumentor\Reflection\Type; |
| 19 | 19 | use phpDocumentor\Reflection\TypeResolver; |
| 20 | 20 | use phpDocumentor\Reflection\Types\Context as TypeContext; |
| 21 | -use phpDocumentor\Reflection\Utils; |
|
| 22 | 21 | use Webmozart\Assert\Assert; |
| 23 | 22 | use function array_shift; |
| 24 | 23 | use function array_unshift; |
@@ -56,6 +56,11 @@ |
||
| 56 | 56 | $this->isReference = $isReference; |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | + /** |
|
| 60 | + * @param TypeResolver $typeResolver |
|
| 61 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
| 62 | + * @param TypeContext $context |
|
| 63 | + */ |
|
| 59 | 64 | public static function create( |
| 60 | 65 | string $body, |
| 61 | 66 | ?TypeResolver $typeResolver = null, |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | use phpDocumentor\Reflection\Type; |
| 19 | 19 | use phpDocumentor\Reflection\TypeResolver; |
| 20 | 20 | use phpDocumentor\Reflection\Types\Context as TypeContext; |
| 21 | -use phpDocumentor\Reflection\Utils; |
|
| 22 | 21 | use Webmozart\Assert\Assert; |
| 23 | 22 | use function array_shift; |
| 24 | 23 | use function array_unshift; |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | |
| 16 | 16 | use phpDocumentor\Reflection\DocBlock\Description; |
| 17 | 17 | use phpDocumentor\Reflection\DocBlock\DescriptionFactory; |
| 18 | -use phpDocumentor\Reflection\Type; |
|
| 19 | 18 | use phpDocumentor\Reflection\TypeResolver; |
| 20 | 19 | use phpDocumentor\Reflection\Types\Context as TypeContext; |
| 21 | 20 | use phpDocumentor\Reflection\Utils; |
@@ -56,6 +56,11 @@ |
||
| 56 | 56 | $this->isReference = $isReference; |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | + /** |
|
| 60 | + * @param TypeResolver $typeResolver |
|
| 61 | + * @param \Mockery\LegacyMockInterface $descriptionFactory |
|
| 62 | + * @param TypeContext $context |
|
| 63 | + */ |
|
| 59 | 64 | public static function create( |
| 60 | 65 | string $body, |
| 61 | 66 | ?TypeResolver $typeResolver = null, |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | use phpDocumentor\Reflection\Type; |
| 19 | 19 | use phpDocumentor\Reflection\TypeResolver; |
| 20 | 20 | use phpDocumentor\Reflection\Types\Context as TypeContext; |
| 21 | -use phpDocumentor\Reflection\Utils; |
|
| 22 | 21 | use Webmozart\Assert\Assert; |
| 23 | 22 | use function array_shift; |
| 24 | 23 | use function array_unshift; |