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

midcom_services_rcs_backend_null   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 3
c 0
b 0
f 0
dl 0
loc 14
ccs 0
cts 6
cp 0
rs 10
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A get_revision() 0 3 1
A load_history() 0 3 1
A update() 0 2 1
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