Code Duplication    Length = 8-8 lines in 2 locations

packages/core/src/Models/Task/Base/Task.php 1 location

@@ 348-355 (lines=8) @@
345
     *
346
     * @throws PropelException - if unable to parse/validate the date/time value.
347
     */
348
    public function getUpdatedAt($format = NULL)
349
    {
350
        if ($format === null) {
351
            return $this->updated_at;
352
        } else {
353
            return $this->updated_at instanceof \DateTime ? $this->updated_at->format($format) : null;
354
        }
355
    }
356
357
    /**
358
     * Set the value of [id] column.

packages/core/src/Models/User/Base/User.php 1 location

@@ 440-447 (lines=8) @@
437
     *
438
     * @throws PropelException - if unable to parse/validate the date/time value.
439
     */
440
    public function getUpdatedAt($format = NULL)
441
    {
442
        if ($format === null) {
443
            return $this->updated_at;
444
        } else {
445
            return $this->updated_at instanceof \DateTime ? $this->updated_at->format($format) : null;
446
        }
447
    }
448
449
    /**
450
     * Set the value of [id] column.