X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FConsole%2FCommands%2FLockRound.php;h=40939fb774c726bde8d899047814e890022f138b;hb=7016f4b28fa1324269ae9e2a8aad28dd562927d4;hp=f0f81c18829bc560d2299e21715883c220e57ea4;hpb=09c1644b5f64d7423905ae1be8f79da0b482289a;p=alttp.git diff --git a/app/Console/Commands/LockRound.php b/app/Console/Commands/LockRound.php index f0f81c1..40939fb 100644 --- a/app/Console/Commands/LockRound.php +++ b/app/Console/Commands/LockRound.php @@ -9,27 +9,27 @@ use Illuminate\Console\Command; class LockRound extends Command { - /** - * The name and signature of the console command. - * - * @var string - */ - protected $signature = 'round:lock {round}'; - - /** - * The console command description. - * - * @var string - */ - protected $description = 'Lock the round'; - - /** - * Execute the console command. - * - * @return int - */ - public function handle() - { + /** + * The name and signature of the console command. + * + * @var string + */ + protected $signature = 'round:lock {round}'; + + /** + * The console command description. + * + * @var string + */ + protected $description = 'Lock the round'; + + /** + * Execute the console command. + * + * @return int + */ + public function handle() + { $round = Round::findOrFail($this->argument('round')); if ($round->locked) { @@ -47,6 +47,6 @@ class LockRound extends Command RoundChanged::dispatch($round); - return 0; - } + return 0; + } }