Passed
Push — dbal ( 545eb7...a65111 )
by Greg
13:50 queued 06:40
created
app/Statistics/Google/ChartDeath.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
      *
87 87
      * @return string
88 88
      */
89
-    public function chartDeath(string|null $color_from = null, string|null $color_to = null): string
89
+    public function chartDeath(string | null $color_from = null, string | null $color_to = null): string
90 90
     {
91 91
         $color_from ??= 'ffffff';
92 92
         $color_to ??= '84beff';
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
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
      *
87 87
      * @return string
88 88
      */
89
-    public function chartMarriage(string|null $color_from = null, string|null $color_to = null): string
89
+    public function chartMarriage(string | null $color_from = null, string | null $color_to = null): string
90 90
     {
91 91
         $color_from ??= 'ffffff';
92 92
         $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
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
      *
87 87
      * @return string
88 88
      */
89
-    public function chartDivorce(string|null $color_from = null, string|null $color_to = null): string
89
+    public function chartDivorce(string | null $color_from = null, string | null $color_to = null): string
90 90
     {
91 91
         $color_from ??= 'ffffff';
92 92
         $color_to ??= '84beff';
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
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
      *
87 87
      * @return string
88 88
      */
89
-    public function chartBirth(string|null $color_from = null, string|null $color_to = null): string
89
+    public function chartBirth(string | null $color_from = null, string | null $color_to = null): string
90 90
     {
91 91
         $color_from ??= 'ffffff';
92 92
         $color_to ??= '84beff';
Please login to merge, or discard this patch.
app/Statistics/Repository/MediaRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@
 block discarded – undo
244 244
      *
245 245
      * @return string
246 246
      */
247
-    public function chartMedia(string|null $color_from = null, string|null $color_to = null): string
247
+    public function chartMedia(string | null $color_from = null, string | null $color_to = null): string
248 248
     {
249 249
         $media = DB::table('media_file')
250 250
             ->where('m_file', '=', $this->tree->id())
Please login to merge, or discard this patch.
app/Statistics/Repository/FamilyRepository.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -686,8 +686,8 @@  discard block
 block discarded – undo
686 686
      * @return string
687 687
      */
688 688
     public function chartLargestFamilies(
689
-        string|null $color_from = null,
690
-        string|null $color_to = null,
689
+        string | null $color_from = null,
690
+        string | null $color_to = null,
691 691
         int $total = 10
692 692
     ): string {
693 693
         return (new ChartFamilyLargest($this->color_service, $this->tree))
@@ -1725,7 +1725,7 @@  discard block
 block discarded – undo
1725 1725
      *
1726 1726
      * @return string
1727 1727
      */
1728
-    public function statsMarr(string|null $color_from = null, string|null $color_to = null): string
1728
+    public function statsMarr(string | null $color_from = null, string | null $color_to = null): string
1729 1729
     {
1730 1730
         return (new ChartMarriage($this->century_service, $this->color_service, $this->tree))
1731 1731
             ->chartMarriage($color_from, $color_to);
@@ -1739,7 +1739,7 @@  discard block
 block discarded – undo
1739 1739
      *
1740 1740
      * @return string
1741 1741
      */
1742
-    public function statsDiv(string|null $color_from = null, string|null $color_to = null): string
1742
+    public function statsDiv(string | null $color_from = null, string | null $color_to = null): string
1743 1743
     {
1744 1744
         return (new ChartDivorce($this->century_service, $this->color_service, $this->tree))
1745 1745
             ->chartDivorce($color_from, $color_to);
Please login to merge, or discard this patch.
app/Statistics/Repository/Interfaces/LatestUserRepositoryInterface.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      *
53 53
      * @return string
54 54
      */
55
-    public function latestUserRegDate(string|null $format = null): string;
55
+    public function latestUserRegDate(string | null $format = null): string;
56 56
 
57 57
     /**
58 58
      * Find the timestamp of the latest user to register.
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      *
62 62
      * @return string
63 63
      */
64
-    public function latestUserRegTime(string|null $format = null): string;
64
+    public function latestUserRegTime(string | null $format = null): string;
65 65
 
66 66
     /**
67 67
      * Is the most recently registered user logged in right now?
@@ -71,5 +71,5 @@  discard block
 block discarded – undo
71 71
      *
72 72
      * @return string
73 73
      */
74
-    public function latestUserLoggedin(string|null $yes = null, string|null $no = null): string;
74
+    public function latestUserLoggedin(string | null $yes = null, string | null $no = null): string;
75 75
 }
Please login to merge, or discard this patch.
app/Statistics/Repository/Interfaces/MediaRepositoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,5 +172,5 @@
 block discarded – undo
172 172
      *
173 173
      * @return string
174 174
      */
175
-    public function chartMedia(string|null $color_from = null, string|null $color_to = null): string;
175
+    public function chartMedia(string | null $color_from = null, string | null $color_to = null): string;
176 176
 }
Please login to merge, or discard this patch.
app/Statistics/Repository/LatestUserRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      *
111 111
      * @return string
112 112
      */
113
-    public function latestUserRegDate(string|null $format = null): string
113
+    public function latestUserRegDate(string | null $format = null): string
114 114
     {
115 115
         $format ??= I18N::dateFormat();
116 116
         $user      = $this->latestUserQuery();
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      *
125 125
      * @return string
126 126
      */
127
-    public function latestUserRegTime(string|null $format = null): string
127
+    public function latestUserRegTime(string | null $format = null): string
128 128
     {
129 129
         $format ??= str_replace('%', '', I18N::timeFormat());
130 130
         $user = $this->latestUserQuery();
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      *
139 139
      * @return string
140 140
      */
141
-    public function latestUserLoggedin(string|null $yes = null, string|null $no = null): string
141
+    public function latestUserLoggedin(string | null $yes = null, string | null $no = null): string
142 142
     {
143 143
         $yes ??= I18N::translate('yes');
144 144
         $no ??= I18N::translate('no');
Please login to merge, or discard this patch.