mockFail   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 19
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 4 1
A settings() 0 3 1
1
<?php
2
3
/**
4
 * ASSETS ENDPOINT CLASS
5
 *
6
 */
7
namespace responsible\service\endpoints;
8
9
use responsible\core\headers;
10
use responsible\service\interfaces;
11
use responsible\core\exception;
12
13
class mockFail
14
{
15
    /**
16
     * [settings Inherited settings]
17
     * @return void
18
     */
19
    public function settings(array $settings)
20
    {
21
        $this->settings = $settings;
0 ignored issues
show
Bug Best Practice introduced by
The property settings does not exist. Although not strictly required by PHP, it is generally a best practice to declare properties explicitly.
Loading history...
22
    }
23
24
    /**
25
     * [register]
26
     * @return array
27
     */
28
    public function register()
29
    {
30
        return array(
31
            '/mockfail/missing/methods',
32
        );
33
    }
34
}