@@ -19,7 +19,6 @@ |
||
| 19 | 19 | use phpDocumentor\Reflection\Php\Visibility; |
| 20 | 20 | use phpDocumentor\Reflection\TypeResolver; |
| 21 | 21 | use phpDocumentor\Reflection\Types\Context; |
| 22 | -use phpDocumentor\Reflection\Types\Mixed_; |
|
| 23 | 22 | use PhpParser\Node\Stmt\ClassMethod; |
| 24 | 23 | |
| 25 | 24 | /** |
@@ -12,10 +12,8 @@ |
||
| 12 | 12 | |
| 13 | 13 | namespace phpDocumentor\Reflection; |
| 14 | 14 | |
| 15 | -use Mockery as m; |
|
| 16 | 15 | use phpDocumentor\Reflection\DocBlock\Tags\Param; |
| 17 | 16 | use phpDocumentor\Reflection\File\LocalFile; |
| 18 | -use phpDocumentor\Reflection\Php\Interface_; |
|
| 19 | 17 | use phpDocumentor\Reflection\Php\ProjectFactory; |
| 20 | 18 | use phpDocumentor\Reflection\Types\Object_; |
| 21 | 19 | use phpDocumentor\Reflection\Types\String_; |
@@ -93,7 +93,7 @@ |
||
| 93 | 93 | $location = new Location(-1); |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | - if ($returnType === null) { |
|
| 96 | + if ($returnType === null) { |
|
| 97 | 97 | $returnType = new Mixed_(); |
| 98 | 98 | } |
| 99 | 99 | |
@@ -12,8 +12,6 @@ discard block |
||
| 12 | 12 | |
| 13 | 13 | namespace phpDocumentor\Reflection\Php\Factory; |
| 14 | 14 | |
| 15 | -use InvalidArgumentException; |
|
| 16 | -use phpDocumentor\Reflection\Fqsen; |
|
| 17 | 15 | use phpDocumentor\Reflection\Location; |
| 18 | 16 | use phpDocumentor\Reflection\Php\Factory; |
| 19 | 17 | use phpDocumentor\Reflection\Php\Function_ as FunctionDescriptor; |
@@ -21,7 +19,6 @@ discard block |
||
| 21 | 19 | use phpDocumentor\Reflection\Php\StrategyContainer; |
| 22 | 20 | use phpDocumentor\Reflection\TypeResolver; |
| 23 | 21 | use phpDocumentor\Reflection\Types\Context; |
| 24 | -use PhpParser\Comment\Doc; |
|
| 25 | 22 | use PhpParser\Node\Stmt\Function_ as FunctionNode; |
| 26 | 23 | |
| 27 | 24 | /** |
@@ -93,7 +93,7 @@ |
||
| 93 | 93 | $location = new Location(-1); |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | - if ($returnType === null) { |
|
| 96 | + if ($returnType === null) { |
|
| 97 | 97 | $returnType = new Mixed_(); |
| 98 | 98 | } |
| 99 | 99 | |