Skip to content

Commit

Permalink
Merge pull request #4 from DarkaOnLine/analysis-z9xkxl
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
DarkaOnLine authored Aug 16, 2016
2 parents 1b68955 + 7aa4ee7 commit 33e1cb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/Ripcord/Documentor/Documentor.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public function handle($rpcServer)
case 'simple':
echo 'This server implements the <a href="http://sites.google.com/a/simplerpc.org/simplerpc/Home/simplerpc-specification-v09">SimpleRPC 1.0 specification</a>';
break;
case 'auto';
case 'auto':
echo 'This server implements the <a href="http://www.w3.org/TR/2000/NOTE-SOAP-20000508/">SOAP 1.1</a>, <a href="http://www.xmlrpc.com/spec">XML-RPC</a> and <a href="http://sites.google.com/a/simplerpc.org/simplerpc/Home/simplerpc-specification-v09">SimpleRPC 1.0</a> specification.';
$showWSDL = true;
break;
Expand All @@ -249,9 +249,9 @@ public function handle($rpcServer)
$allFunctions = [];
foreach ($methods['methodList'] as $index => $method) {
if (strpos($method, '.') !== false) {
$allMethods[ $method['name'] ] = $index;
$allMethods[$method['name']] = $index;
} else {
$allFunctions[ $method['name'] ] = $index;
$allFunctions[$method['name']] = $index;
}
}
ksort($allMethods);
Expand Down
2 changes: 0 additions & 2 deletions src/Ripcord/Ripcord.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,5 @@ public function bind(&$bound, $call)
} else {
$bound = $call;
}

return;
}
}

0 comments on commit 33e1cb6

Please sign in to comment.