for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Fesor\RequestObject\Tests\Fixtures;
use Symfony\Component\HttpFoundation\Request;
class ConflictOnRequestObjectBindingMapper
{
public function mapper(Request $request): ExampleRequestObject
$request
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return new ExampleRequestObject();
}
public function conflictingMapper(Request $request): ExampleRequestObject
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.