bankiru /
rpc-server-bundle
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Bankiru\Api\Rpc\Test\Rpc; |
||
| 4 | |||
| 5 | use Bankiru\Api\Rpc\Routing\Annotation\Method; |
||
| 6 | use Bankiru\Api\Rpc\Test\Impl\Response; |
||
| 7 | use ScayTrase\Api\Rpc\RpcRequestInterface; |
||
| 8 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
||
| 9 | |||
| 10 | final class RpcImplController extends Controller |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @param string $noDefault |
||
| 14 | * @param string $default |
||
| 15 | * @param array $array |
||
| 16 | * @param RpcRequestInterface $request |
||
| 17 | * |
||
| 18 | * @Method("annotation", inherit=false, context={"annotation-non-inherit"}, defaultContext=false) |
||
| 19 | * |
||
| 20 | * @return Response |
||
| 21 | */ |
||
| 22 | 3 | public function testAction($noDefault, $default = 'test', array $array, RpcRequestInterface $request) |
|
|
0 ignored issues
–
show
|
|||
| 23 | { |
||
| 24 | 3 | return new Response('success'); |
|
| 25 | } |
||
| 26 | } |
||
| 27 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.