Passed
Push — master ( 80989d...3b42b5 )
by Julien
29:41 queued 07:49
created
src/models/Championship.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,11 +22,11 @@  discard block
 block discarded – undo
22 22
     {
23 23
         parent::boot();
24 24
 
25
-        static::deleting(function ($championship) {
25
+        static::deleting(function($championship) {
26 26
             $championship->competitors()->delete();
27 27
             $championship->settings()->delete();
28 28
         });
29
-        static::restoring(function ($championship) {
29
+        static::restoring(function($championship) {
30 30
             $championship->competitors()->restore();
31 31
             $championship->settings()->restore();
32 32
         });
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
         return $teamText . ' ' . $genders[$this->category->gender] . ' ' . $ageCategoryText . ' ' . $gradeText;
190 190
     }
191 191
 
192
-    public function getSettings(){
192
+    public function getSettings() {
193 193
         return $this->settings ?? new ChampionshipSettings(config('options.default_settings'));
194 194
     }
195 195
 
Please login to merge, or discard this patch.