class/Command/RoommateRequestCancelCommand.php
Method execute
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function execute(CommandContext $context)
{
$id = $context->get('roommateId');
if(is_null($id)) {
throw new \InvalidArgumentException('Must set roommateId');
- Create a ticketCreate a ticket