1 | <?php |
||
9 | class Client |
||
10 | 2 | { |
|
11 | /** |
||
12 | 2 | * @var Client |
|
13 | */ |
||
14 | protected static $instance = null; |
||
15 | 4 | ||
16 | /** |
||
17 | 4 | * @var array |
|
18 | */ |
||
19 | protected $defaultConfig = [ |
||
20 | 2 | 'environment' => 'development', |
|
21 | 'database' => [ |
||
22 | 2 | 'driver' => 'pdo_mysql' |
|
23 | ], |
||
24 | 'status' => [ |
||
25 | 2 | 'column_name' => 'active', |
|
26 | 'deleted_value' => 0, |
||
27 | 2 | 'active_value' => 1, |
|
28 | 'draft_value' => 2, |
||
29 | 'mapping' => [ |
||
30 | 2 | 0 => [ |
|
31 | 'name' => 'Delete', |
||
32 | 2 | 'color' => '#C1272D', |
|
33 | 'sort' => 3 |
||
34 | ], |
||
35 | 2 | 1 => [ |
|
36 | 'name' => 'Active', |
||
37 | 2 | 'color' => '#5B5B5B', |
|
38 | 'sort' => 1 |
||
39 | ], |
||
40 | 2 | 2 => [ |
|
41 | 'name' => 'Draft', |
||
42 | 2 | 'color' => '#BBBBBB', |
|
43 | 'sort' => 2 |
||
44 | ] |
||
45 | 2 | ] |
|
46 | ] |
||
47 | 2 | ]; |
|
48 | |||
49 | /** |
||
50 | 2 | * @param $userToken |
|
51 | * @param array $options |
||
52 | 2 | * |
|
53 | * @return RequestsInterface |
||
54 | */ |
||
55 | 2 | public static function create($userToken, $options = []) |
|
70 | 2 | ||
71 | /** |
||
72 | 2 | * Creates a new local client instance |
|
73 | * |
||
74 | * @param array $options |
||
75 | 2 | * |
|
76 | * @return ClientLocal |
||
77 | */ |
||
78 | public function createLocalClient(array $options) |
||
120 | |||
121 | /** |
||
122 | * Create a new remote client instance |
||
123 | * |
||
124 | * @param $userToken |
||
125 | * @param array $options |
||
126 | * |
||
127 | * @return ClientRemote |
||
128 | */ |
||
129 | public function createRemoteClient($userToken, array $options = []) |
||
133 | } |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.