for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Bankiru\Api\Rpc\Test\Rpc;
use Bankiru\Api\Rpc\Routing\Annotation\Method;
use Bankiru\Api\Rpc\Test\Impl\Response;
use ScayTrase\Api\Rpc\RpcRequestInterface;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
final class RpcImplController extends Controller
{
/**
* @param string $noDefault
* @param string $default
* @param array $array
* @param RpcRequestInterface $request
*
* @Method("annotation", inherit=false, context={"annotation-non-inherit"}, defaultContext=false)
* @return Response
*/
public function testAction($noDefault, $default = 'test', array $array, RpcRequestInterface $request)
$noDefault
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$default
$array
$request
return new Response('success');
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.