Completed
Pull Request — master (#626)
by Tom
08:45
created
DoctrineModuleTest/Stdlib/Hydrator/DoctrineObjectTypeConversionsTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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';
Please login to merge, or discard this patch.