Issues (22)

src/service/endpoints/mockfail.php (1 issue)

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
}