Passed
Pull Request — main (#4103)
by Jonathan
07:09
created
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  ?? ['--sex-f-chart', '#ffd1dc'];
50
-        $color_male    = $color_male    ?? ['--sex-m-chart', '#84beff'];
49
+        $color_female  = $color_female ?? ['--sex-f-chart', '#ffd1dc'];
50
+        $color_male    = $color_male ?? ['--sex-m-chart', '#84beff'];
51 51
         $color_unknown = $color_unknown ?? ['--sex-u-chart', '#777777'];
52 52
 
53 53
         $data = [
Please login to merge, or discard this patch.
app/Statistics/Google/ChartIndividualWithSources.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         string $color_to = null
47 47
     ): string {
48 48
         $color_from = $color_from ?? ['--chart-values-low', '#ffffff'];
49
-        $color_to   = $color_to ??  ['--chart-values-high', '#84beff'];
49
+        $color_to   = $color_to ?? ['--chart-values-high', '#84beff'];
50 50
 
51 51
         $data = [
52 52
             [
Please login to merge, or discard this patch.
app/Statistics/Google/ChartFamilyWithSources.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         string $color_to = null
47 47
     ): string {
48 48
         $color_from = $color_from ?? ['--chart-values-low', '#ffffff'];
49
-        $color_to   = $color_to ??  ['--chart-values-high', '#84beff'];
49
+        $color_to   = $color_to ?? ['--chart-values-high', '#84beff'];
50 50
 
51 51
         $data = [
52 52
             [
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
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function __construct(Tree $tree)
43 43
     {
44
-        $this->tree          = $tree;
44
+        $this->tree = $tree;
45 45
     }
46 46
 
47 47
     /**
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
         int $total = 10
78 78
     ): string {
79 79
         $color_from = $color_from ?? ['--chart-values-low', '#ffffff'];
80
-        $color_to   = $color_to ??  ['--chart-values-high', '#84beff'];
80
+        $color_to   = $color_to ?? ['--chart-values-high', '#84beff'];
81 81
 
82 82
         $data = [
83 83
             [
Please login to merge, or discard this patch.
app/Statistics/Google/ChartChildren.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
         return view('statistics/other/charts/column', [
114 114
             'data'          => $data,
115 115
             'chart_options' => $chart_options,
116
-            'chart_colors'  => [ ['--chart-values-default', '#84beff'] ],
116
+            'chart_colors'  => [['--chart-values-default', '#84beff']],
117 117
             'chart_title'   => $chart_title,
118 118
             'language'      => I18N::languageTag(),
119 119
         ]);
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
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
     public function chartDeath(string $color_from = null, string $color_to = null): string
84 84
     {
85 85
         $color_from = $color_from ?? ['--chart-values-low', '#ffffff'];
86
-        $color_to   = $color_to ??  ['--chart-values-high', '#84beff'];
86
+        $color_to   = $color_to ?? ['--chart-values-high', '#84beff'];
87 87
 
88 88
         $data = [
89 89
             [
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
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
     public function chartBirth(string $color_from = null, string $color_to = null): string
84 84
     {
85 85
         $color_from = $color_from ?? ['--chart-values-low', '#ffffff'];
86
-        $color_to   = $color_to ??  ['--chart-values-high', '#84beff'];
86
+        $color_to   = $color_to ?? ['--chart-values-high', '#84beff'];
87 87
 
88 88
         $data = [
89 89
             [
Please login to merge, or discard this patch.
app/Statistics/Google/ChartMedia.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         string $color_to = null
46 46
     ): string {
47 47
         $color_from = $color_from ?? ['--chart-values-low', '#ffffff'];
48
-        $color_to   = $color_to ??  ['--chart-values-high', '#84beff'];
48
+        $color_to   = $color_to ?? ['--chart-values-high', '#84beff'];
49 49
 
50 50
         $data = [
51 51
             [
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
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
     public function chartMarriage(string $color_from = null, string $color_to = null): string
84 84
     {
85 85
         $color_from = $color_from ?? ['--chart-values-low', '#ffffff'];
86
-        $color_to   = $color_to ??  ['--chart-values-high', '#84beff'];
86
+        $color_to   = $color_to ?? ['--chart-values-high', '#84beff'];
87 87
 
88 88
         $data = [
89 89
             [
Please login to merge, or discard this patch.