@@ -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 | |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | /** |
| 110 | - * @return \PHPUnit_Framework_MockObject_MockObject|MenuBuilderEvent |
|
| 110 | + * @return MenuBuilderEvent |
|
| 111 | 111 | */ |
| 112 | 112 | private function createMenuBuilderEventMock() |
| 113 | 113 | { |
@@ -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 | { |
@@ -170,7 +170,7 @@ |
||
| 170 | 170 | /** |
| 171 | 171 | * @param string $name |
| 172 | 172 | * @param string $type |
| 173 | - * @param mixed $default |
|
| 173 | + * @param string $default |
|
| 174 | 174 | * @param callable|null $if |
| 175 | 175 | * @param string|null $then |
| 176 | 176 | * |
@@ -150,7 +150,7 @@ |
||
| 150 | 150 | */ |
| 151 | 151 | private function createClassNode($name, $class, array $interfaces = []) |
| 152 | 152 | { |
| 153 | - return $this->createNode($name, 'scalar', $class, function ($class) use ($interfaces) { |
|
| 153 | + return $this->createNode($name, 'scalar', $class, function($class) use ($interfaces) { |
|
| 154 | 154 | if (!class_exists($class)) { |
| 155 | 155 | return true; |
| 156 | 156 | } |
@@ -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 | */ |
@@ -110,7 +110,7 @@ |
||
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /** |
| 113 | - * @return \PHPUnit_Framework_MockObject_MockObject|DomainEvent |
|
| 113 | + * @return DomainEvent |
|
| 114 | 114 | */ |
| 115 | 115 | private function createDomainEventMock() |
| 116 | 116 | { |