Completed
Push — master ( 4e860c...c8ac6b )
by Julien
01:58
created
src/Models/DirectEliminationFight.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -7,12 +7,12 @@
 block discarded – undo
7 7
     public function __construct(Fight $fight = null)
8 8
     {
9 9
         parent::__construct();
10
-        if ($fight!=null){
11
-            $this->id= $fight->id;
12
-            $this->short_id= $fight->short_id;
13
-            $this->fighters_group_id= $fight->fighters_group_id;
14
-            $this->c1= $fight->c1;
15
-            $this->c2= $fight->c2;
10
+        if ($fight != null) {
11
+            $this->id = $fight->id;
12
+            $this->short_id = $fight->short_id;
13
+            $this->fighters_group_id = $fight->fighters_group_id;
14
+            $this->c1 = $fight->c1;
15
+            $this->c2 = $fight->c2;
16 16
         }
17 17
     }
18 18
     /**
Please login to merge, or discard this patch.
src/Models/PreliminaryFight.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -10,12 +10,12 @@
 block discarded – undo
10 10
     public function __construct(Fight $fight = null)
11 11
     {
12 12
         parent::__construct();
13
-        if ($fight!=null){
14
-            $this->id= $fight->id;
15
-            $this->short_id= $fight->short_id;
16
-            $this->fighters_group_id= $fight->fighters_group_id;
17
-            $this->c1= $fight->c1;
18
-            $this->c2= $fight->c2;
13
+        if ($fight != null) {
14
+            $this->id = $fight->id;
15
+            $this->short_id = $fight->short_id;
16
+            $this->fighters_group_id = $fight->fighters_group_id;
17
+            $this->c1 = $fight->c1;
18
+            $this->c2 = $fight->c2;
19 19
         }
20 20
     }
21 21
 
Please login to merge, or discard this patch.