| Total Complexity | 6 |
| Total Lines | 58 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class UpdateGroupHeaders extends Command |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * The name and signature of the console command. |
||
| 15 | * |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $signature = 'group:update-headers {group : Group name}'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * The console command description. |
||
| 22 | * |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $description = 'Update a single group\'s article headers'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Execute the console command. |
||
| 29 | */ |
||
| 30 | public function handle(): int |
||
| 52 | } |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Get NNTP connection. |
||
| 57 | */ |
||
| 58 | private function getNntp(): NNTP |
||
| 71 |