Completed
Pull Request — master (#8)
by Elan
05:14
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
     {
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      *
83 83
      * @param string $id
84 84
      *
85
-     * @return mixed entity
85
+     * @return EntityID entity
86 86
      */
87 87
     private function createEntityID(string $id)
88 88
     {
Please login to merge, or discard this patch.