@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | /** |
171 | 171 | * Get the method's method |
172 | 172 | * |
173 | - * @return string|null |
|
173 | + * @return string |
|
174 | 174 | */ |
175 | 175 | public function getDescription() { |
176 | 176 | |
@@ -379,7 +379,7 @@ discard block |
||
379 | 379 | * Static class constructor - create an RpcMethod object |
380 | 380 | * |
381 | 381 | * @param string $name |
382 | - * @param string|function $callback |
|
382 | + * @param string $callback |
|
383 | 383 | * @param string|null $method |
384 | 384 | * |
385 | 385 | * @return \Comodojo\RpcServer\RpcMethod |
@@ -566,5 +566,5 @@ |
||
566 | 566 | |
567 | 567 | } |
568 | 568 | |
569 | - } |
|
570 | - |
|
571 | 569 | \ No newline at end of file |
570 | + } |
|
571 | + |
|
572 | 572 | \ No newline at end of file |