@@ -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 | */ |
@@ -115,6 +115,8 @@ |
||
| 115 | 115 | |
| 116 | 116 | /** |
| 117 | 117 | * {@inheritdoc} |
| 118 | + * @param string $alias |
|
| 119 | + * @param string $indexBy |
|
| 118 | 120 | */ |
| 119 | 121 | public function createQueryBuilderForCollection($alias = null, $indexBy = null) |
| 120 | 122 | { |
@@ -116,7 +116,7 @@ |
||
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | /** |
| 119 | - * @return \PHPUnit_Framework_MockObject_MockObject|ContainerBuilder |
|
| 119 | + * @return ContainerBuilder |
|
| 120 | 120 | */ |
| 121 | 121 | private function createContainerBuilderMock() |
| 122 | 122 | { |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | /** |
| 101 | - * @return \PHPUnit_Framework_MockObject_MockObject|ContainerBuilder |
|
| 101 | + * @return ContainerBuilder |
|
| 102 | 102 | */ |
| 103 | 103 | private function createContainerBuilderMock() |
| 104 | 104 | { |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | ->method('addMethodCall') |
| 64 | 64 | ->with( |
| 65 | 65 | $this->identicalTo('offsetSet'), |
| 66 | - $this->callback(function (array $args) use ($domainManager, $resource) { |
|
| 66 | + $this->callback(function(array $args) use ($domainManager, $resource) { |
|
| 67 | 67 | return isset($args[0]) |
| 68 | 68 | && isset($args[1]) |
| 69 | 69 | && $args[0] === $resource |
@@ -103,7 +103,7 @@ |
||
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | - * @return \PHPUnit_Framework_MockObject_MockObject|ContainerBuilder |
|
| 106 | + * @return ContainerBuilder |
|
| 107 | 107 | */ |
| 108 | 108 | private function createContainerBuilderMock() |
| 109 | 109 | { |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | /** |
| 101 | - * @return \PHPUnit_Framework_MockObject_MockObject|ContainerBuilder |
|
| 101 | + * @return ContainerBuilder |
|
| 102 | 102 | */ |
| 103 | 103 | private function createContainerBuilderMock() |
| 104 | 104 | { |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | ->method('addMethodCall') |
| 64 | 64 | ->with( |
| 65 | 65 | $this->identicalTo('offsetSet'), |
| 66 | - $this->callback(function (array $args) use ($manager, $resource) { |
|
| 66 | + $this->callback(function(array $args) use ($manager, $resource) { |
|
| 67 | 67 | return isset($args[0]) |
| 68 | 68 | && isset($args[1]) |
| 69 | 69 | && $args[0] === $resource |
@@ -103,7 +103,7 @@ |
||
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | - * @return \PHPUnit_Framework_MockObject_MockObject|ContainerBuilder |
|
| 106 | + * @return ContainerBuilder |
|
| 107 | 107 | */ |
| 108 | 108 | private function createContainerBuilderMock() |
| 109 | 109 | { |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | /** |
| 101 | - * @return \PHPUnit_Framework_MockObject_MockObject|ContainerBuilder |
|
| 101 | + * @return ContainerBuilder |
|
| 102 | 102 | */ |
| 103 | 103 | private function createContainerBuilderMock() |
| 104 | 104 | { |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | ->method('addMethodCall') |
| 64 | 64 | ->with( |
| 65 | 65 | $this->identicalTo('offsetSet'), |
| 66 | - $this->callback(function (array $args) use ($repository, $resource) { |
|
| 66 | + $this->callback(function(array $args) use ($repository, $resource) { |
|
| 67 | 67 | return isset($args[0]) |
| 68 | 68 | && isset($args[1]) |
| 69 | 69 | && $args[0] === $resource |