@@ -87,7 +87,7 @@ |
||
87 | 87 | |
88 | 88 | /** |
89 | 89 | * @param string $definition |
90 | - * @param object|string $reflectionElement |
|
90 | + * @param \ApiGen\Parser\Reflection\TokenReflection\ReflectionInterface $reflectionElement |
|
91 | 91 | * @param string|null $expectedName |
92 | 92 | * @return ClassReflectionInterface|ConstantReflectionInterface|FunctionReflectionInterface|MethodReflectionInterface|PropertyReflectionInterface|null |
93 | 93 | */ |
@@ -94,7 +94,7 @@ |
||
94 | 94 | } |
95 | 95 | |
96 | 96 | /** |
97 | - * @param ElementReflectionInterface|AbstractReflection $element |
|
97 | + * @param ElementReflectionInterface $element |
|
98 | 98 | */ |
99 | 99 | private function generateForElement(ElementReflectionInterface $element): void |
100 | 100 | { |
@@ -101,7 +101,7 @@ |
||
101 | 101 | } |
102 | 102 | |
103 | 103 | /** |
104 | - * @param InClassInterface|ReflectionInterface $reflection |
|
104 | + * @param ReflectionInterface $reflection |
|
105 | 105 | */ |
106 | 106 | private function getPropertyOrMethodFqnName(ReflectionInterface $reflection): string |
107 | 107 | { |
@@ -598,7 +598,7 @@ |
||
598 | 598 | } |
599 | 599 | |
600 | 600 | /** |
601 | - * @param mixed[] $usedMethods |
|
601 | + * @param MethodReflectionInterface[] $usedMethods |
|
602 | 602 | * @return mixed[] |
603 | 603 | */ |
604 | 604 | private function sortUsedMethods(array $usedMethods): array |
@@ -51,7 +51,7 @@ |
||
51 | 51 | |
52 | 52 | /** |
53 | 53 | * @param IReflectionClass|IReflectionConstant|IReflectionMethod $reflection |
54 | - * @return mixed |
|
54 | + * @return AbstractReflection |
|
55 | 55 | */ |
56 | 56 | private function createByReflectionType($reflection) |
57 | 57 | { |
@@ -211,7 +211,7 @@ |
||
211 | 211 | } |
212 | 212 | |
213 | 213 | /** |
214 | - * @param mixed $value |
|
214 | + * @param string $value |
|
215 | 215 | * @param ElementReflectionInterface $elementReflection |
216 | 216 | */ |
217 | 217 | private function getDescriptionFromValue($value, ElementReflectionInterface $elementReflection): string |
@@ -8,7 +8,7 @@ |
||
8 | 8 | final class NetteFinder implements FinderInterface |
9 | 9 | { |
10 | 10 | /** |
11 | - * @param string|string[] $source |
|
11 | + * @param string $source |
|
12 | 12 | * @param string[] $exclude |
13 | 13 | * @param string[] $extensions |
14 | 14 | * @return SplFileInfo[] |
@@ -202,9 +202,4 @@ |
||
202 | 202 | $this->assertSame([ |
203 | 203 | 'config' => '...', |
204 | 204 | 'debug' => true |
205 | - ], $options); |
|
206 | - |
|
207 | - unlink(getcwd() . DIRECTORY_SEPARATOR . 'apigen.neon.dist'); |
|
208 | ->>>>>>> 4.2 |
|
209 | - } |
|
210 | -} |
|
205 | + ], $options |
|
211 | 206 | \ No newline at end of file |
@@ -202,9 +202,4 @@ |
||
202 | 202 | $this->assertSame([ |
203 | 203 | 'config' => '...', |
204 | 204 | 'debug' => true |
205 | - ], $options); |
|
206 | - |
|
207 | - unlink(getcwd() . DIRECTORY_SEPARATOR . 'apigen.neon.dist'); |
|
208 | ->>>>>>> 4.2 |
|
209 | - } |
|
210 | -} |
|
205 | + ], $options |
|
211 | 206 | \ No newline at end of file |
@@ -38,7 +38,7 @@ |
||
38 | 38 | } |
39 | 39 | |
40 | 40 | /** |
41 | - * @return PHPUnit_Framework_MockObject_MockObject|ElementStorageInterface |
|
41 | + * @return ElementStorageInterface |
|
42 | 42 | */ |
43 | 43 | private function createElementStorageMock() |
44 | 44 | { |