Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | public static function handlePullNotification($uri, callable $handle, array $options = array()) |
||
|
|||
10 | { |
||
11 | $server = new \SoapServer( |
||
12 | __DIR__ . '/../Resources/wsdl/notification-service.wsdl', |
||
13 | [ |
||
14 | 'uri' => $uri, |
||
15 | 'classmap' => ClassMap::getClassMap(), |
||
16 | ] |
||
17 | ); |
||
18 | $server->setObject(new NotificationHandler($handle)); |
||
19 | $server->handle(); |
||
20 | |||
21 | return $server; |
||
22 | } |
||
23 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.