Passed
Push — master ( 2d6907...a5f38f )
by
unknown
04:10
created
src/Charcoal/Cms/AbstractEvent.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     }
214 214
 
215 215
     /**
216
-     * @param  string|DateTimeInterface|null $startDate Event starting date.
216
+     * @param  string $startDate Event starting date.
217 217
      * @throws InvalidArgumentException If the timestamp is invalid.
218 218
      * @return self
219 219
      */
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
     }
247 247
 
248 248
     /**
249
-     * @param  string|DateTimeInterface|null $endDate Event end date.
249
+     * @param  null|DateTimeInterface $endDate Event end date.
250 250
      * @throws InvalidArgumentException If the timestamp is invalid.
251 251
      * @return self
252 252
      */
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
     }
299 299
 
300 300
     /**
301
-     * @return Translation|string|null
301
+     * @return null|Translation
302 302
      */
303 303
     public function defaultMetaDescription()
304 304
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     {
113 113
         parent::__construct($data);
114 114
 
115
-        if (is_callable([ $this, 'defaultData' ])) {
115
+        if (is_callable([$this, 'defaultData'])) {
116 116
             $this->setData($this->defaultData());
117 117
         }
118 118
     }
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
      */
366 366
     public function setTicketPriceMin($price)
367 367
     {
368
-        $this->ticketPriceMin = (float)$price;
368
+        $this->ticketPriceMin = (float) $price;
369 369
         return $this;
370 370
     }
371 371
 
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
      */
384 384
     public function setTicketPriceMax($price)
385 385
     {
386
-        $this->ticketPriceMax = (float)$price;
386
+        $this->ticketPriceMax = (float) $price;
387 387
         return $this;
388 388
     }
389 389
 
Please login to merge, or discard this patch.