@@ -110,7 +110,7 @@ |
||
110 | 110 | } |
111 | 111 | |
112 | 112 | /** |
113 | - * @param $format |
|
113 | + * @param string $format |
|
114 | 114 | * |
115 | 115 | * @return array|mixed |
116 | 116 | */ |
@@ -101,7 +101,7 @@ |
||
101 | 101 | */ |
102 | 102 | private function decodeByProperty($property, $format) |
103 | 103 | { |
104 | - return array_map(function ($entry) use ($property) { |
|
104 | + return array_map(function($entry) use ($property) { |
|
105 | 105 | \PHPUnit_Framework_Assert::assertInternalType('array', $entry); |
106 | 106 | \PHPUnit_Framework_Assert::assertArrayHasKey($property, $entry); |
107 | 107 |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
59 | - * @param string|int $header |
|
59 | + * @param string $header |
|
60 | 60 | * @param string $sorting |
61 | 61 | */ |
62 | 62 | public function followSortingLink($header, $sorting) |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | } |
122 | 122 | |
123 | 123 | /** |
124 | - * @param string|int $header |
|
124 | + * @param integer $header |
|
125 | 125 | * @param string $value |
126 | 126 | */ |
127 | 127 | public function assertHeader($header, $value) |
@@ -214,7 +214,7 @@ |
||
214 | 214 | { |
215 | 215 | $index = $this->findHeaderIndex($header); |
216 | 216 | |
217 | - $values = $sortedValues = array_map(function (NodeElement $node) { |
|
217 | + $values = $sortedValues = array_map(function(NodeElement $node) { |
|
218 | 218 | return $node->getText(); |
219 | 219 | }, $this->findCell(null, $index)); |
220 | 220 |
@@ -51,7 +51,7 @@ |
||
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
54 | - * @return ContainerBuilder|\PHPUnit_Framework_MockObject_MockObject |
|
54 | + * @return ContainerBuilder |
|
55 | 55 | */ |
56 | 56 | private function createContainerMock() |
57 | 57 | { |
@@ -39,6 +39,8 @@ |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * {@inheritdoc} |
42 | + * @param string $originalDocument |
|
43 | + * @param string $newDocument |
|
42 | 44 | */ |
43 | 45 | public function addResolveTargetDocument($originalDocument, $newDocument, array $mapping) |
44 | 46 | { |
@@ -37,6 +37,8 @@ |
||
37 | 37 | |
38 | 38 | /** |
39 | 39 | * {@inheritdoc} |
40 | + * @param string $originalEntity |
|
41 | + * @param string $newEntity |
|
40 | 42 | */ |
41 | 43 | public function addResolveTargetEntity($originalEntity, $newEntity, array $mapping) |
42 | 44 | { |
@@ -44,8 +44,8 @@ |
||
44 | 44 | |
45 | 45 | /** |
46 | 46 | * @param string|FormTypeInterface|ResourceInterface $type |
47 | - * @param mixed $data |
|
48 | - * @param mixed[] $options |
|
47 | + * @param string $data |
|
48 | + * @param string[] $options |
|
49 | 49 | * |
50 | 50 | * @return FormInterface |
51 | 51 | */ |
@@ -51,7 +51,7 @@ |
||
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
54 | - * @return \PHPUnit_Framework_MockObject_MockObject|ContainerBuilder |
|
54 | + * @return ContainerBuilder |
|
55 | 55 | */ |
56 | 56 | private function createContainerBuilderMock() |
57 | 57 | { |
@@ -57,7 +57,7 @@ |
||
57 | 57 | } |
58 | 58 | } |
59 | 59 | |
60 | - usort($sortedAcceptLanguages, function (AcceptLanguage $a, AcceptLanguage $b) { |
|
60 | + usort($sortedAcceptLanguages, function(AcceptLanguage $a, AcceptLanguage $b) { |
|
61 | 61 | return $a->getQuality() > $b->getQuality() ? -1 : 1; |
62 | 62 | }); |
63 | 63 |
@@ -39,7 +39,7 @@ |
||
39 | 39 | public function configureOptions(OptionsResolver $resolver) |
40 | 40 | { |
41 | 41 | $resolver |
42 | - ->setDefault('path', function (Options $options, $path) { |
|
42 | + ->setDefault('path', function(Options $options, $path) { |
|
43 | 43 | return $path ?: $options['column']->getName(); |
44 | 44 | }) |
45 | 45 | ->setAllowedTypes('path', 'string'); |