AppStateESS/homestead

View on GitHub
class/Command/RoommateRequestCancelCommand.php

Summary

Maintainability
A
1 hr
Test Coverage

Method execute has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function execute(CommandContext $context)
    {
        $id = $context->get('roommateId');
        if(is_null($id)) {
            throw new \InvalidArgumentException('Must set roommateId');
Severity: Minor
Found in class/Command/RoommateRequestCancelCommand.php - About 1 hr to fix

There are no issues that match your filters.

Category
Status