Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
32 | public static function handlePullNotification($uri, callable $handle, array $options = array()) |
||
|
|||
33 | { |
||
34 | $server = new \SoapServer( |
||
35 | __DIR__ . '/../Resources/wsdl/notification-service.wsdl', |
||
36 | [ |
||
37 | 'uri' => $uri, |
||
38 | 'classmap' => ClassMap::getClassMap(), |
||
39 | ] |
||
40 | ); |
||
41 | $server->setObject(new NotificationHandler($handle)); |
||
42 | $server->handle(); |
||
43 | |||
44 | return $server; |
||
45 | } |
||
46 | } |
||
47 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.