Passed
Pull Request — main (#4103)
by Jonathan
07:09
created
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.
app/Statistics/Google/ChartNoChildrenFamilies.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
         return view('statistics/other/charts/column', [
138 138
             'data'          => $data,
139 139
             'chart_options' => $chart_options,
140
-            'chart_colors'  => [ ['--chart-values-default', '#84beff'] ],
140
+            'chart_colors'  => [['--chart-values-default', '#84beff']],
141 141
             'chart_title'   => $chart_title,
142 142
             'language'      => I18N::languageTag(),
143 143
         ]);
Please login to merge, or discard this patch.
app/Statistics/Google/ChartCommonGiven.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
         $tot = 0;
52 52
         foreach ($given as $count) {
Please login to merge, or discard this patch.
app/Statistics/Google/ChartMortality.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_dead = null
47 47
     ): string {
48 48
         $color_living = $color_living ?? ['--chart-values-low', '#ffffff'];
49
-        $color_dead   = $color_dead   ?? ['--chart-values-high', '#84beff'];
49
+        $color_dead   = $color_dead ?? ['--chart-values-high', '#84beff'];
50 50
 
51 51
         $data = [
52 52
             [
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
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
     public function chartDivorce(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/ChartCommonSurname.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
         string $color_to = null
111 111
     ): string {
112 112
         $color_from = $color_from ?? ['--chart-values-low', '#ffffff'];
113
-        $color_to   = $color_to ??  ['--chart-values-high', '#84beff'];
113
+        $color_to   = $color_to ?? ['--chart-values-high', '#84beff'];
114 114
 
115 115
         $tot = 0;
116 116
         foreach ($all_surnames as $surnames) {
Please login to merge, or discard this patch.