Showing 2 of 8 total issues
Order
has 26 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Order
{
/**
* @var string
*/
Method handleRequest
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handleRequest(RequestInterface $request, callable $next, callable $first): Promise
{
switch ($request->getMethod()) {
case 'POST':
$data = sprintf(