@@ -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 |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * Send a POST request |
32 | 32 | * |
33 | - * @param int|string $url the URL of the API endpoint |
|
33 | + * @param integer $url the URL of the API endpoint |
|
34 | 34 | * @param mixed $data and array or a blob of data to be sent |
35 | 35 | * @param mixed[] $headers add optional headers |
36 | 36 | */ |