@@ -566,4 +566,4 @@ |
||
| 566 | 566 | |
| 567 | 567 | } |
| 568 | 568 | |
| 569 | - } |
|
| 569 | + } |
|
@@ -94,8 +94,7 @@ discard block |
||
| 94 | 94 | * Class constructor |
| 95 | 95 | * |
| 96 | 96 | * @param string $name |
| 97 | - * @param mixed $callback |
|
| 98 | - * @param string $method |
|
| 97 | + * @param callable $callback |
|
| 99 | 98 | * |
| 100 | 99 | * @throws Exception |
| 101 | 100 | */ |
@@ -170,7 +169,7 @@ discard block |
||
| 170 | 169 | /** |
| 171 | 170 | * Get additional arguments to forward to callback |
| 172 | 171 | * |
| 173 | - * @return array |
|
| 172 | + * @return callable |
|
| 174 | 173 | */ |
| 175 | 174 | public function getArguments() { |
| 176 | 175 | |
@@ -379,8 +378,7 @@ discard block |
||
| 379 | 378 | * Static class constructor - create an RpcMethod object |
| 380 | 379 | * |
| 381 | 380 | * @param string $name |
| 382 | - * @param string|function $callback |
|
| 383 | - * @param string|null $method |
|
| 381 | + * @param string $callback |
|
| 384 | 382 | * |
| 385 | 383 | * @return RpcMethod |
| 386 | 384 | * @throws Exception |