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

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