Passed
Push — dependabot/composer/illuminate... ( b56af1 )
by
unknown
10:39
created
app/Contracts/SubmissionFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,6 +59,6 @@
 block discarded – undo
59 59
      *
60 60
      * @return Submission
61 61
      */
62
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Submission;
62
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Submission;
63 63
 
64 64
 }
Please login to merge, or discard this patch.
app/Contracts/HeaderFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,5 +59,5 @@
 block discarded – undo
59 59
      *
60 60
      * @return Header
61 61
      */
62
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Header;
62
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Header;
63 63
 }
Please login to merge, or discard this patch.
app/Contracts/GedcomRecordFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      *
51 51
      * @return GedcomRecord
52 52
      */
53
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): GedcomRecord;
53
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : GedcomRecord;
54 54
 
55 55
     /**
56 56
      * Create a GedcomRecord object from a row in the database.
Please login to merge, or discard this patch.
app/Contracts/LocationFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,5 +59,5 @@
 block discarded – undo
59 59
      *
60 60
      * @return Location
61 61
      */
62
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Location;
62
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Location;
63 63
 }
Please login to merge, or discard this patch.
app/Factories/LocationFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      *
90 90
      * @return Location
91 91
      */
92
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Location
92
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Location
93 93
     {
94 94
         return new Location($xref, $gedcom, $pending, $tree);
95 95
     }
Please login to merge, or discard this patch.
app/Statistics/Google/ChartSex.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
         string $color_male = null,
47 47
         string $color_unknown = null
48 48
     ): string {
49
-        $color_female  = $color_female  ?? '#ffd1dc';
50
-        $color_male    = $color_male    ?? '#84beff';
49
+        $color_female  = $color_female ?? '#ffd1dc';
50
+        $color_male    = $color_male ?? '#84beff';
51 51
         $color_unknown = $color_unknown ?? '#777777';
52 52
 
53 53
         $data = [
Please login to merge, or discard this patch.
app/Statistics/Google/ChartBirth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
         $chart_color1 = (string) $this->theme->parameter('distribution-chart-no-values');
102 102
         $chart_color2 = (string) $this->theme->parameter('distribution-chart-high-values');
103 103
         $color_from   = $color_from ?? $chart_color1;
104
-        $color_to     = $color_to   ?? $chart_color2;
104
+        $color_to     = $color_to ?? $chart_color2;
105 105
 
106 106
         $data = [
107 107
             [
Please login to merge, or discard this patch.
app/Statistics/Google/ChartMortality.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         string $color_dead = null
60 60
     ): string {
61 61
         $color_living = $color_living ?? '#ffffff';
62
-        $color_dead   = $color_dead   ?? '#cccccc';
62
+        $color_dead   = $color_dead ?? '#cccccc';
63 63
 
64 64
         $data = [
65 65
             [
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
                 $tot_l
75 75
             ];
76 76
 
77
-            $data[] =  [
77
+            $data[] = [
78 78
                 I18N::translate('Dead'),
79 79
                 $tot_d
80 80
             ];
Please login to merge, or discard this patch.
app/Statistics/Google/ChartCommonGiven.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $chart_color1 = (string) $this->theme->parameter('distribution-chart-no-values');
70 70
         $chart_color2 = (string) $this->theme->parameter('distribution-chart-high-values');
71 71
         $color_from   = $color_from ?? $chart_color1;
72
-        $color_to     = $color_to   ?? $chart_color2;
72
+        $color_to     = $color_to ?? $chart_color2;
73 73
 
74 74
         $tot = 0;
75 75
         foreach ($given as $count) {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
         ];
85 85
 
86 86
         foreach ($given as $name => $count) {
87
-            $data[] = [ $name, $count ];
87
+            $data[] = [$name, $count];
88 88
         }
89 89
 
90 90
         $data[] = [
Please login to merge, or discard this patch.