Completed
Push — master ( 4b06b4...964845 )
by Jelle
03:57
created
src/Entity/EntityInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
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.