@@ -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 | { |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions\Hydrator package. |
4 | 4 | * |
@@ -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 | { |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions\Hydrator package. |
4 | 4 | * |
@@ -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 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions\Hydrator package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions\Hydrator package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions\Hydrator package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions\Hydrator package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions\Hydrator package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions\Hydrator package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions\Hydrator package. |
4 | 4 | * |