Code Duplication    Length = 9-9 lines in 2 locations

Entity/Card.php 1 location

@@ 277-285 (lines=9) @@
274
     *
275
     * @return Card
276
     */
277
    public function setUpdated($updated = null)
278
    {
279
        if ($updated === null) {
280
            $updated = new \DateTime();
281
        }
282
        $this->updated = $updated;
283
284
        return $this;
285
    }
286
287
    /**
288
     * Get updated

Entity/Category.php 1 location

@@ 203-211 (lines=9) @@
200
     *
201
     * @return Category
202
     */
203
    public function setUpdated($updated = null)
204
    {
205
        if ($updated === null) {
206
            $updated = new \DateTime();
207
        }
208
        $this->updated = $updated;
209
210
        return $this;
211
    }
212
213
    /**
214
     * Get updated