git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1a96d26
)
comments
author
gggeek
<giunta.gaetano@gmail.com>
Sat, 2 Jan 2021 14:17:51 +0000
(14:17 +0000)
committer
gggeek
<giunta.gaetano@gmail.com>
Sat, 2 Jan 2021 14:17:51 +0000
(14:17 +0000)
src/Server.php
patch
|
blob
|
history
diff --git
a/src/Server.php
b/src/Server.php
index
f6523e3
..
081da3e
100644
(file)
--- a/
src/Server.php
+++ b/
src/Server.php
@@
-293,7
+293,7
@@
class Server
* Add a method to the dispatch map.
*
* @param string $methodName the name with which the method will be made available
* Add a method to the dispatch map.
*
* @param string $methodName the name with which the method will be made available
- * @param
string
$function the php function that will get invoked
+ * @param
callable
$function the php function that will get invoked
* @param array $sig the array of valid method signatures
* @param string $doc method documentation
* @param array $sigDoc the array of valid method signatures docs (one string per param, one for return type)
* @param array $sig the array of valid method signatures
* @param string $doc method documentation
* @param array $sigDoc the array of valid method signatures docs (one string per param, one for return type)