@@ -50,6 +50,9 @@ discard block |
||
50 | 50 | ->will($this->returnValue($this->metadata)); |
51 | 51 | } |
52 | 52 | |
53 | + /** |
|
54 | + * @param string $genericFieldType |
|
55 | + */ |
|
53 | 56 | public function configureObjectManagerForSimpleEntityWithGenericField($genericFieldType) |
54 | 57 | { |
55 | 58 | $refl = new ReflectionClass('DoctrineModuleTest\Stdlib\Hydrator\Asset\SimpleEntityWithGenericField'); |
@@ -78,6 +81,10 @@ discard block |
||
78 | 81 | ->with($this->logicalOr($this->equalTo('id'), $this->equalTo('genericField'))) |
79 | 82 | ->will( |
80 | 83 | $this->returnCallback( |
84 | + |
|
85 | + /** |
|
86 | + * @param string $arg |
|
87 | + */ |
|
81 | 88 | function ($arg) use ($genericFieldType) { |
82 | 89 | if ('id' === $arg) { |
83 | 90 | return 'integer'; |