Completed
Push — master ( 719b28...4b06b4 )
by Jelle
04:39
created
src/Entity/Entity.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
   }
Please login to merge, or discard this patch.