@@ -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 | } |