@@ -31,6 +31,9 @@ |
||
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; |
@@ -54,7 +54,7 @@ discard block |
||
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 |
||
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 |
||
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 | { |