Showing 1 of 1 total issue
Method process
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$impersonateData = $request->getQueryParams()['tx_impersonate'] ?? [];
if (isset($impersonateData['timeout'], $impersonateData['user'], $impersonateData['verification'])
&& $impersonateData['timeout'] > time()