@@ -18,6 +18,9 @@ |
||
18 | 18 | |
19 | 19 | class GeneratorFactory |
20 | 20 | { |
21 | + /** |
|
22 | + * @param \Symfony\Component\Serializer\Serializer $serializer |
|
23 | + */ |
|
21 | 24 | public static function build($serializer) |
22 | 25 | { |
23 | 26 | if (class_exists('PhpParser\ParserFactory')) { |
@@ -23,6 +23,7 @@ |
||
23 | 23 | * @param $status |
24 | 24 | * @param $schema |
25 | 25 | * @param Context $context |
26 | + * @param string $reference |
|
26 | 27 | * |
27 | 28 | * @return [string, null|Stmt\If_] |
28 | 29 | */ |
@@ -34,6 +34,9 @@ |
||
34 | 34 | */ |
35 | 35 | private $reference; |
36 | 36 | |
37 | + /** |
|
38 | + * @param string $reference |
|
39 | + */ |
|
37 | 40 | public function __construct(OpenApiOperation $operation, $path, $method, $reference, $basePath = "", $host = 'localhost') |
38 | 41 | { |
39 | 42 | $this->operation = $operation; |
@@ -8,6 +8,9 @@ |
||
8 | 8 | |
9 | 9 | class OperationManager |
10 | 10 | { |
11 | + /** |
|
12 | + * @param string $reference |
|
13 | + */ |
|
11 | 14 | public function buildOperationCollection(OpenApi $openApi, $reference) |
12 | 15 | { |
13 | 16 | $operationCollection = new OperationCollection(); |
@@ -72,7 +72,7 @@ |
||
72 | 72 | /** |
73 | 73 | * Discover classes in operation |
74 | 74 | * |
75 | - * @param $name |
|
75 | + * @param string $name |
|
76 | 76 | * @param Operation $operation |
77 | 77 | * @param string $reference |
78 | 78 | * @param Registry $registry |