AppStateESS/homestead

View on GitHub
class/Command/AddRoomCommand.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function execute(CommandContext $context)
    {
        if(!\Current_User::allow('hms', 'room_structure')){
            throw new PermissionException('You do not have permission to add a room.');
        }
Severity: Minor
Found in class/Command/AddRoomCommand.php - About 1 hr to fix

There are no issues that match your filters.

Category
Status