Completed
Push — master ( cbeceb...e8fccc )
by Andreas
17:05
created

midcom_services_rcs_backend_null::get_revision()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * @author tarjei huse
4
 * @package midcom.services.rcs
5
 * @copyright The Midgard Project, http://www.midgard-project.org
6
 * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License
7
 */
8
9
/**
10
 * @package midcom.services.rcs
11
 */
12
class midcom_services_rcs_backend_null extends midcom_services_rcs_backend
13
{
14
    public function update($updatemessage = null)
15
    {
16
    }
17
18
    public function get_revision($revision) : array
19
    {
20
        return [];
21
    }
22
23
    protected function load_history() : array
24
    {
25
        return [];
26
    }
27
}
28