@@ -25,6 +25,7 @@ |
||
25 | 25 | * |
26 | 26 | * @param \TheSportsDb\Entity\LeagueInterface $league |
27 | 27 | * The league to add. |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function addLeague(LeagueInterface $league); |
30 | 31 | } |
@@ -25,6 +25,7 @@ |
||
25 | 25 | * |
26 | 26 | * @param \TheSportsDb\Entity\LeagueInterface $league |
27 | 27 | * The league to add. |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function addLeague(LeagueInterface $league); |
30 | 31 | } |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | * |
127 | 127 | * @param mixed $value |
128 | 128 | * The value to transform. |
129 | - * @param mixed $context |
|
129 | + * @param \stdClass $context |
|
130 | 130 | * The context for this mapping. Usually the raw entity as defined by the |
131 | 131 | * sportsdb api this property is from. |
132 | 132 | * @param EntityManagerInterface $entityManager |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | * @param array $contextPropertyMap |
163 | 163 | * Extra properties to map from the context |
164 | 164 | * |
165 | - * @return array |
|
165 | + * @return string |
|
166 | 166 | * An array with following keys: |
167 | 167 | * - object: The raw data representing the entity. |
168 | 168 | * - id: The id of the entity. |
@@ -25,6 +25,7 @@ |
||
25 | 25 | * |
26 | 26 | * @param \TheSportsDb\Entity\LeagueInterface $league |
27 | 27 | * The league to add. |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function addLeague(LeagueInterface $league); |
30 | 31 | } |