Completed
Push — develop ( 7275cb...ea714c )
by Jaap
14s
created
src/phpDocumentor/Reflection/Php/Factory/Function_.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -12,8 +12,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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\NullableType;
26 23
 use PhpParser\Node\Stmt\Function_ as FunctionNode;
27 24
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         if ($object->getReturnType() !== null) {
64 64
             $typeResolver = new TypeResolver();
65 65
             if ($object->getReturnType() instanceof NullableType) {
66
-                $typeString = '?' . $object->getReturnType()->type;
66
+                $typeString = '?'.$object->getReturnType()->type;
67 67
             } else {
68 68
                 $typeString = (string)$object->getReturnType();
69 69
             }
Please login to merge, or discard this patch.
src/phpDocumentor/Reflection/Php/Factory/Method.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
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\NullableType;
24 23
 use PhpParser\Node\Stmt\ClassMethod;
25 24
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         if ($object->getReturnType() !== null) {
56 56
             $typeResolver = new TypeResolver();
57 57
             if ($object->getReturnType() instanceof NullableType) {
58
-                $typeString = '?' . $object->getReturnType()->type;
58
+                $typeString = '?'.$object->getReturnType()->type;
59 59
             } else {
60 60
                 $typeString = (string)$object->getReturnType();
61 61
             }
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Reflection/Php/Factory/Function_Test.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use phpDocumentor\Reflection\Php\Factory\Function_;
20 20
 use Mockery as m;
21 21
 use phpDocumentor\Reflection\Php\StrategyContainer;
22
-use phpDocumentor\Reflection\Types\Context;
23 22
 use phpDocumentor\Reflection\Types\Integer;
24 23
 use phpDocumentor\Reflection\Types\Nullable;
25 24
 use PhpParser\Comment\Doc;
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Reflection/Php/Factory/MethodTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use phpDocumentor\Reflection\Php\Factory;
19 19
 use Mockery as m;
20 20
 use phpDocumentor\Reflection\Php\StrategyContainer;
21
-use phpDocumentor\Reflection\Types\Context;
22 21
 use phpDocumentor\Reflection\Types\Integer;
23 22
 use phpDocumentor\Reflection\Types\Nullable;
24 23
 use PhpParser\Comment\Doc;
Please login to merge, or discard this patch.