Code Duplication    Length = 8-8 lines in 2 locations

app/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.

app/Models/User/Base/User.php 1 location

@@ 412-419 (lines=8) @@
409
     *
410
     * @throws PropelException - if unable to parse/validate the date/time value.
411
     */
412
    public function getUpdatedAt($format = NULL)
413
    {
414
        if ($format === null) {
415
            return $this->updated_at;
416
        } else {
417
            return $this->updated_at instanceof \DateTime ? $this->updated_at->format($format) : null;
418
        }
419
    }
420
421
    /**
422
     * Set the value of [id] column.