Test Failed
Push — master ( e0db15...9209ad )
by Jelle
16:11
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.
src/Entity/EntityInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -18,6 +18,7 @@
 block discarded – undo
18 18
    *
19 19
    * @param \stdClass $values
20 20
    *   The values to create this entity with.
21
+   * @return void
21 22
    */
22 23
   public function __construct(\stdClass $values);
23 24
 
Please login to merge, or discard this patch.