git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: encoder needs the kindOf method on requests
[plcapi.git]
/
src
/
Request.php
diff --git
a/src/Request.php
b/src/Request.php
index
df899e3
..
2c47940
100644
(file)
--- a/
src/Request.php
+++ b/
src/Request.php
@@
-357,6
+357,16
@@
class Request
return $r;
}
return $r;
}
+ /**
+ * Kept the old name even if Request class was renamed, for compatibility.
+ *
+ * @return string
+ */
+ public function kindOf()
+ {
+ return 'msg';
+ }
+
/**
* Enables/disables the echoing to screen of the xmlrpc responses received.
*
/**
* Enables/disables the echoing to screen of the xmlrpc responses received.
*