aboutsummaryrefslogtreecommitdiffhomepage
path: root/Digitigrade/RpcReceiver.php
diff options
context:
space:
mode:
authorwinter2024-12-19 21:06:22 +0000
committerwinter2024-12-19 21:06:22 +0000
commit8c4b618b0fd61b82ecaac1c7040eec8dd8d26c94 (patch)
tree7d52e429f319e046230ce8fb2d277a58b74d301d /Digitigrade/RpcReceiver.php
parent72b07245f44c73ed41bfcca2465a9ee34426a922 (diff)
can't have protected interface methods silly
Diffstat (limited to 'Digitigrade/RpcReceiver.php')
-rw-r--r--Digitigrade/RpcReceiver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Digitigrade/RpcReceiver.php b/Digitigrade/RpcReceiver.php
index f776bf2..a6b53c4 100644
--- a/Digitigrade/RpcReceiver.php
+++ b/Digitigrade/RpcReceiver.php
@@ -11,12 +11,12 @@ interface RpcReceiver {
/**
* Makes a remote or local method call on this object.
*
- * Implementors should not expose this method publicly, but should instead create wrapper
+ * Generally you shouldn't use this method directly, but should instead create wrapper
* methods with a nicer interface.
* @param string $method the name of the remote method to call
* @param array $args any arguments
* @return mixed results of the call
* @throws RpcException if there was an error contacting the other server
*/
- protected function rpcCall(string $method, array $args);
+ public function rpcCall(string $method, array $args);
} \ No newline at end of file