class/Command/AddRoomCommand.php
Method execute
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
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.');
}
- Create a ticketCreate a ticket