Completed
Push — master ( f908c3...668678 )
by Leo
02:11
created

MockApi::getCallbackMethod()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace leocata\M1\Tests\Mock;
4
5
use leocata\M1\Abstracts\RequestMethods;
6
use leocata\M1\Api;
7
8
class MockApi extends Api
9
{
10
    public static function doCallback($name, \Closure $func)
11
    {
12
        parent::doCallback($name, $func);
13
    }
14
15
    public function getCallbackMethod(string $data)
16
    {
17
        return parent::getCallbackMethod($data);
18
    }
19
20
    public function sendApiRequest(RequestMethods $method)
21
    {
22
        return parent::sendApiRequest($method);
23
    }
24
}
25