Passed
Push — main ( 2e616b...408e18 )
by Greg
07:05
created
app/Statistics/Repository/FamilyRepository.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -534,8 +534,8 @@  discard block
 block discarded – undo
534 534
     }
535 535
 
536 536
     public function chartLargestFamilies(
537
-        string|null $color_from = null,
538
-        string|null $color_to = null,
537
+        string | null $color_from = null,
538
+        string | null $color_to = null,
539 539
         int $total = 10
540 540
     ): string {
541 541
         return (new ChartFamilyLargest($this->color_service, $this->tree))
@@ -1271,13 +1271,13 @@  discard block
 block discarded – undo
1271 1271
             ->orderBy('d_julianday2');
1272 1272
     }
1273 1273
 
1274
-    public function statsMarr(string|null $color_from = null, string|null $color_to = null): string
1274
+    public function statsMarr(string | null $color_from = null, string | null $color_to = null): string
1275 1275
     {
1276 1276
         return (new ChartMarriage($this->century_service, $this->color_service, $this->tree))
1277 1277
             ->chartMarriage($color_from, $color_to);
1278 1278
     }
1279 1279
 
1280
-    public function statsDiv(string|null $color_from = null, string|null $color_to = null): string
1280
+    public function statsDiv(string | null $color_from = null, string | null $color_to = null): string
1281 1281
     {
1282 1282
         return (new ChartDivorce($this->century_service, $this->color_service, $this->tree))
1283 1283
             ->chartDivorce($color_from, $color_to);
Please login to merge, or discard this patch.
app/Statistics/Google/ChartIndividualWithSources.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@
 block discarded – undo
40 40
     public function chartIndisWithSources(
41 41
         int $total_individuals,
42 42
         int $total_individuals_with_sources,
43
-        string|null $color_from = null,
44
-        string|null $color_to = null
43
+        string | null $color_from = null,
44
+        string | null $color_to = null
45 45
     ): string {
46 46
         $color_from ??= 'ffffff';
47 47
         $color_to ??= '84beff';
Please login to merge, or discard this patch.
app/Statistics/Google/ChartDivorce.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
      * @param string|null $color_from
77 77
      * @param string|null $color_to
78 78
      */
79
-    public function chartDivorce(string|null $color_from = null, string|null $color_to = null): string
79
+    public function chartDivorce(string | null $color_from = null, string | null $color_to = null): string
80 80
     {
81 81
         $color_from ??= 'ffffff';
82 82
         $color_to ??= '84beff';
Please login to merge, or discard this patch.
app/Statistics/Google/ChartFamilyLargest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@
 block discarded – undo
47 47
     }
48 48
 
49 49
     public function chartLargestFamilies(
50
-        string|null $color_from = null,
51
-        string|null $color_to = null,
50
+        string | null $color_from = null,
51
+        string | null $color_to = null,
52 52
         int $total = 10
53 53
     ): string {
54 54
         $color_from ??= 'ffffff';
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
@@ -40,8 +40,8 @@
 block discarded – undo
40 40
     public function chartMortality(
41 41
         int $tot_living,
42 42
         int $tot_dead,
43
-        string|null $color_living = null,
44
-        string|null $color_dead = null
43
+        string | null $color_living = null,
44
+        string | null $color_dead = null
45 45
     ): string {
46 46
         $color_living ??= '#ffffff';
47 47
         $color_dead ??= '#cccccc';
Please login to merge, or discard this patch.
app/Statistics/Google/ChartMarriage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
             ]);
71 71
     }
72 72
 
73
-    public function chartMarriage(string|null $color_from = null, string|null $color_to = null): string
73
+    public function chartMarriage(string | null $color_from = null, string | null $color_to = null): string
74 74
     {
75 75
         $color_from ??= 'ffffff';
76 76
         $color_to ??= '84beff';
Please login to merge, or discard this patch.
app/Statistics/Google/ChartDeath.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
             ]);
71 71
     }
72 72
 
73
-    public function chartDeath(string|null $color_from = null, string|null $color_to = null): string
73
+    public function chartDeath(string | null $color_from = null, string | null $color_to = null): string
74 74
     {
75 75
         $color_from ??= 'ffffff';
76 76
         $color_to ??= '84beff';
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
@@ -43,8 +43,8 @@
 block discarded – undo
43 43
     public function chartCommonGiven(
44 44
         int $total_individuals,
45 45
         array $given,
46
-        string|null $color_from = null,
47
-        string|null $color_to = null
46
+        string | null $color_from = null,
47
+        string | null $color_to = null
48 48
     ): string {
49 49
         $color_from ??= 'ffffff';
50 50
         $color_to ??= '84beff';
Please login to merge, or discard this patch.
app/Statistics/Google/ChartCommonSurname.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,8 +100,8 @@
 block discarded – undo
100 100
     public function chartCommonSurnames(
101 101
         int $total_individuals,
102 102
         array $all_surnames,
103
-        string|null $color_from = null,
104
-        string|null $color_to = null
103
+        string | null $color_from = null,
104
+        string | null $color_to = null
105 105
     ): string {
106 106
         $color_from ??= 'ffffff';
107 107
         $color_to ??= '84beff';
Please login to merge, or discard this patch.