@@ -14,7 +14,6 @@ |
||
14 | 14 | use Addiks\RDMBundle\Mapping\ArrayMapping; |
15 | 15 | use Addiks\RDMBundle\Mapping\MappingInterface; |
16 | 16 | use Doctrine\DBAL\Schema\Column; |
17 | -use InvalidArgumentException; |
|
18 | 17 | |
19 | 18 | final class ArrayMappingTest extends TestCase |
20 | 19 | { |
@@ -59,6 +59,9 @@ |
||
59 | 59 | return [$this->scalarValue, $this->lorem, $this->dolor]; |
60 | 60 | } |
61 | 61 | |
62 | + /** |
|
63 | + * @param string $amet |
|
64 | + */ |
|
62 | 65 | public function setAmet($amet) |
63 | 66 | { |
64 | 67 | $this->amet = $amet; |
@@ -111,7 +111,7 @@ |
||
111 | 111 | * @param object $entity |
112 | 112 | * @param array<scalar> $dataFromAdditionalColumns |
113 | 113 | * |
114 | - * @return array<mixed> |
|
114 | + * @return callable |
|
115 | 115 | */ |
116 | 116 | private function resolveArguments( |
117 | 117 | array $argumentMappings, |
@@ -86,7 +86,8 @@ |
||
86 | 86 | * |
87 | 87 | * @return object|string |
88 | 88 | */ |
89 | - private function resolveCallee(string $objectReference, $entity) { |
|
89 | + private function resolveCallee(string $objectReference, $entity) |
|
90 | + { |
|
90 | 91 | /** @var object|string $callee */ |
91 | 92 | $callee = null; |
92 | 93 |