Completed
Push — master ( 3d485f...407dff )
by Paweł
66:49
created

RevisionLog   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 15
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the Superdesk Publisher Revision Bundle.
5
 *
6
 * Copyright 2017 Sourcefabric z.u. and contributors.
7
 *
8
 * For the full copyright and license information, please see the
9
 * AUTHORS and LICENSE files distributed with this source code.
10
 *
11
 * @copyright 2015 Sourcefabric z.ú
12
 * @license http://www.superdesk.org/license
13
 */
14
15
namespace SWP\Bundle\RevisionBundle\Model;
16
17
use SWP\Component\Revision\Model\RevisionLog as BaseRevisionLog;
18
use SWP\Component\Storage\Model\PersistableInterface;
19
20
class RevisionLog extends BaseRevisionLog implements PersistableInterface
21
{
22
    /**
23
     * @var int
24
     */
25
    protected $id;
26
27
    /**
28
     * {@inheritdoc}
29
     */
30
    public function getId(): int
31
    {
32
        return $this->id;
33
    }
34
}
35