Test Failed
Push — master ( 0b1eb3...dde83f )
by Julien
04:04
created
src/TreeController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      * @param Request      $request
43 43
      * @param Championship $championship
44 44
      *
45
-     * @return \Illuminate\Http\Response|string
45
+     * @return \Illuminate\Http\RedirectResponse
46 46
      */
47 47
     public function store(Request $request, Championship $championship)
48 48
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
             Round::generateFights($rounds, $settings, $championship);
76 76
         } catch (TreeGenerationException $e) {
77 77
             redirect()->back()
78
-                ->withErrors([$numFighters ."-".$e->getMessage()]);
78
+                ->withErrors([$numFighters . "-" . $e->getMessage()]);
79 79
         }
80 80
 
81 81
         return redirect()->back()->with(['success' => "Success"]);
Please login to merge, or discard this patch.