]> git.localhorst.tv Git - alttp.git/blobdiff - app/Console/Commands/LockRound.php
lock tournaments
[alttp.git] / app / Console / Commands / LockRound.php
index f0f81c18829bc560d2299e21715883c220e57ea4..40939fb774c726bde8d899047814e890022f138b 100644 (file)
@@ -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;
+       }
 }