| Total Complexity | 6 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class EditTaskCommand extends Command |
||
| 15 | { |
||
| 16 | use AsksForTasks; |
||
| 17 | use AsksForUsers; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The name and signature of the console command. |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $signature = 'task:edit {id? : The task id} {name? : The task name} {user_id? : The user id}'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * The console command description. |
||
| 28 | * |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | protected $description = 'Edit a task'; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Create a new command instance. |
||
| 35 | * |
||
| 36 | * @return void |
||
| 37 | */ |
||
| 38 | public function __construct() |
||
| 39 | { |
||
| 40 | parent::__construct(); |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Execute the console command. |
||
| 45 | * |
||
| 46 | * @return mixed |
||
| 47 | */ |
||
| 48 | public function handle() |
||
| 61 | } |
||
| 62 | } |
||
| 63 |