Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added type hinting to Client::checkResponse() to indicate the require…

…ment for a XBMC_RPC_Response instance
  • Loading branch information...
commit d93b89e895db450976aa2e2cc8108ddbc06c1d89 1 parent d898f42
@karlrixon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  rpc/Client.php
View
2  rpc/Client.php
@@ -156,7 +156,7 @@ private function buildJson($command, $params, $rpcId) {
* @return bool True of the reponse is valid, false if not.
* @access private
*/
- private function checkResponse($response, $rpcId) {
+ private function checkResponse(XBMC_RPC_Response $response, $rpcId) {
return ($response->getId() == $rpcId);
}
Please sign in to comment.
Something went wrong with that request. Please try again.