@@ -6,7 +6,6 @@ |
||
6 | 6 | |
7 | 7 | namespace TheSportsDb\Entity\Factory; |
8 | 8 | |
9 | -use FastNorth\PropertyMapper\MapperInterface; |
|
10 | 9 | use TheSportsDb\Entity\EntityInterface; |
11 | 10 | use TheSportsDb\Entity\EntityManagerConsumerTrait; |
12 | 11 | use TheSportsDb\Entity\EntityManagerInterface; |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * |
29 | 29 | * @param string $entityType |
30 | 30 | * |
31 | - * @return TheSportsDb\Entity\Factory\FactoryInterface |
|
31 | + * @return Factory\FactoryInterface |
|
32 | 32 | * The repositort for the given entity type. |
33 | 33 | */ |
34 | 34 | public function factory($entityType); |
@@ -27,5 +27,8 @@ |
||
27 | 27 | */ |
28 | 28 | public function create(\stdClass $values, $entityType); |
29 | 29 | |
30 | + /** |
|
31 | + * @return \TheSportsDb\Entity\EntityManagerInterface |
|
32 | + */ |
|
30 | 33 | public function getEntityManager(); |
31 | 34 | } |
@@ -15,6 +15,8 @@ |
||
15 | 15 | |
16 | 16 | /** |
17 | 17 | * {@inheritdoc} |
18 | + * @param string $endpoint |
|
19 | + * @return \stdClass |
|
18 | 20 | */ |
19 | 21 | public function doRequest($endpoint, array $parameters = array()); |
20 | 22 | } |