@@ -227,7 +227,7 @@ |
||
227 | 227 | * @param string $actionName |
228 | 228 | * @param string $path |
229 | 229 | * @param string $action |
230 | - * @param array $methods |
|
230 | + * @param string[] $methods |
|
231 | 231 | * @param array $options |
232 | 232 | * |
233 | 233 | * @return Definition |
@@ -95,6 +95,9 @@ discard block |
||
95 | 95 | self::assertSame([$f1, $f2, $f3, $f4], $result->toArray()); |
96 | 96 | } |
97 | 97 | |
98 | + /** |
|
99 | + * @param integer $a |
|
100 | + */ |
|
98 | 101 | private function createFixture($a, $b, $c) |
99 | 102 | { |
100 | 103 | $entity = new AbcClass(); |
@@ -106,7 +109,7 @@ discard block |
||
106 | 109 | } |
107 | 110 | |
108 | 111 | /** |
109 | - * @return ReferenceProviderInterface|\PHPUnit_Framework_MockObject_MockObject |
|
112 | + * @return ReferenceProviderInterface |
|
110 | 113 | */ |
111 | 114 | private function getReferenceProvider() |
112 | 115 | { |
@@ -48,7 +48,7 @@ |
||
48 | 48 | { |
49 | 49 | $mock = self::prophesize(CriteriaConfiguratorInterface::class); |
50 | 50 | $mock->configure(Argument::exact($fqcn), Argument::exact($criteria), Argument::exact($data)) |
51 | - ->shouldBeCalled(); |
|
51 | + ->shouldBeCalled(); |
|
52 | 52 | |
53 | 53 | return $mock->reveal(); |
54 | 54 | } |
@@ -72,11 +72,11 @@ |
||
72 | 72 | |
73 | 73 | return $kernel instanceof Kernel && |
74 | 74 | ( |
75 | - $kernel::MAJOR_VERSION === '3' || |
|
75 | + $kernel::MAJOR_VERSION === '3' || |
|
76 | 76 | ( |
77 | - $kernel::MAJOR_VERSION === '2' |
|
77 | + $kernel::MAJOR_VERSION === '2' |
|
78 | 78 | && $kernel::MINOR_VERSION === '8' |
79 | - ) |
|
80 | - ); |
|
79 | + ) |
|
80 | + ); |
|
81 | 81 | } |
82 | 82 | } |
@@ -29,10 +29,10 @@ |
||
29 | 29 | * {@inheritdoc} |
30 | 30 | */ |
31 | 31 | public function construct(VisitorInterface $visitor, |
32 | - ClassMetadata $metadata, |
|
33 | - $data, |
|
34 | - array $type, |
|
35 | - DeserializationContext $context |
|
32 | + ClassMetadata $metadata, |
|
33 | + $data, |
|
34 | + array $type, |
|
35 | + DeserializationContext $context |
|
36 | 36 | ) { |
37 | 37 | if ($context->attributes->containsKey('target') && $context->getDepth() === 1) { |
38 | 38 | return $context->attributes->get('target')->get(); |