Completed
Push — master ( 0668bb...e0da03 )
by Adrien
01:44
created
src/Definition/EntityID.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@
 block discarded – undo
31 31
      */
32 32
     private $id;
33 33
 
34
+    /**
35
+     * @param string $id
36
+     */
34 37
     public function __construct(EntityManager $entityManager, string $className, ?string $id)
35 38
     {
36 39
         $this->entityManager = $entityManager;
Please login to merge, or discard this patch.
src/Definition/EntityIDType.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      *
55 55
      * @param mixed $value
56 56
      *
57
-     * @return mixed A Doctrine entity
57
+     * @return EntityID A Doctrine entity
58 58
      */
59 59
     public function parseValue($value)
60 60
     {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      *
69 69
      * @param \GraphQL\Language\AST\Node $valueNode
70 70
      *
71
-     * @return mixed
71
+     * @return EntityID
72 72
      */
73 73
     public function parseLiteral($valueNode)
74 74
     {
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     /**
81 81
      * Create EntityID to retrieve entity from DB later on
82 82
      *
83
-     * @return mixed entity
83
+     * @return EntityID entity
84 84
      */
85 85
     private function createEntityID(string $id)
86 86
     {
Please login to merge, or discard this patch.