@@ -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 | } |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | * @param array $contextPropertyMap |
180 | 180 | * Extra properties to map from the context |
181 | 181 | * |
182 | - * @return array |
|
182 | + * @return string |
|
183 | 183 | * An array with following keys: |
184 | 184 | * - object: The raw data representing the entity. |
185 | 185 | * - id: The id of the entity. |
@@ -217,6 +217,9 @@ discard block |
||
217 | 217 | return $date; |
218 | 218 | } |
219 | 219 | |
220 | + /** |
|
221 | + * @param string $format |
|
222 | + */ |
|
220 | 223 | public static function reverseDate(\DateTime $value, $format) { |
221 | 224 | return $value->format($format); |
222 | 225 | } |