@@ -59,7 +59,7 @@ |
||
59 | 59 | /** |
60 | 60 | * Resolve all references |
61 | 61 | * |
62 | - * @return mixed The whole definition can be a reference to a scalar value |
|
62 | + * @return \stdClass The whole definition can be a reference to a scalar value |
|
63 | 63 | */ |
64 | 64 | public function resolve() |
65 | 65 | { |
@@ -21,6 +21,7 @@ discard block |
||
21 | 21 | /** |
22 | 22 | * PriorityQueue constructor. |
23 | 23 | * @param Factory[] ...$factories |
24 | + * @param ComplexTypeFactory $factories |
|
24 | 25 | */ |
25 | 26 | public function __construct(Factory ...$factories) |
26 | 27 | { |
@@ -38,8 +39,8 @@ discard block |
||
38 | 39 | } |
39 | 40 | |
40 | 41 | /** |
41 | - * @param mixed $value |
|
42 | - * @param mixed $priority |
|
42 | + * @param Factory $value |
|
43 | + * @param integer $priority |
|
43 | 44 | */ |
44 | 45 | public function insert($value, $priority) |
45 | 46 | { |
@@ -58,7 +58,7 @@ |
||
58 | 58 | |
59 | 59 | /** |
60 | 60 | * @param mixed $node |
61 | - * @return mixed |
|
61 | + * @return \stdClass |
|
62 | 62 | */ |
63 | 63 | public function dehydrate($node) |
64 | 64 | { |
@@ -30,7 +30,6 @@ |
||
30 | 30 | * Cast a scalar value using the schema. |
31 | 31 | * |
32 | 32 | * @param mixed $value |
33 | - * @param Schema $schema |
|
34 | 33 | * |
35 | 34 | * @return float|int|string|\DateTimeInterface |
36 | 35 | * @throws UnsupportedException |
@@ -8,13 +8,11 @@ |
||
8 | 8 | |
9 | 9 | namespace KleijnWeb\PhpApi\Descriptions\Description\Builder; |
10 | 10 | |
11 | -use KleijnWeb\PhpApi\Descriptions\Description\ComplexType; |
|
12 | 11 | use KleijnWeb\PhpApi\Descriptions\Description\Description; |
13 | 12 | use KleijnWeb\PhpApi\Descriptions\Description\Operation; |
14 | 13 | use KleijnWeb\PhpApi\Descriptions\Description\Parameter; |
15 | 14 | use KleijnWeb\PhpApi\Descriptions\Description\Path; |
16 | 15 | use KleijnWeb\PhpApi\Descriptions\Description\Response; |
17 | -use KleijnWeb\PhpApi\Descriptions\Description\Schema\ObjectSchema; |
|
18 | 16 | use KleijnWeb\PhpApi\Descriptions\Description\Schema\Schema; |
19 | 17 | use KleijnWeb\PhpApi\Descriptions\Description\Visitor\ClosureVisitor; |
20 | 18 | use KleijnWeb\PhpApi\Descriptions\Description\Visitor\ClosureVisitorScope; |