Passed
Push — dbal ( 9e152c...887ebd )
by Greg
26:02
created
app/Services/RelationshipService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -325,7 +325,7 @@
 block discarded – undo
325 325
      *
326 326
      * @deprecated This code was originally Functions::getRelationshipNameFromPath
327 327
      */
328
-    public function legacyNameAlgorithm(string $path, Individual|null $person1 = null, Individual|null $person2 = null): string
328
+    public function legacyNameAlgorithm(string $path, Individual | null $person1 = null, Individual | null $person2 = null): string
329 329
     {
330 330
         // The path does not include the starting person. In some languages, the
331 331
         // translation for a man’s (relative) is different from a woman’s (relative),
Please login to merge, or discard this patch.
app/Tree.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
196 196
      *
197 197
      * @return string
198 198
      */
199
-    public function getPreference(string $setting_name, string|null $default = null): string
199
+    public function getPreference(string $setting_name, string | null $default = null): string
200 200
     {
201 201
         if ($this->preferences === []) {
202 202
             $this->preferences = DB::table('gedcom_setting')
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
@@ -78,8 +78,8 @@
 block discarded – undo
78 78
      * @return string
79 79
      */
80 80
     public function chartLargestFamilies(
81
-        string|null $color_from = null,
82
-        string|null $color_to = null,
81
+        string | null $color_from = null,
82
+        string | null $color_to = null,
83 83
         int $total = 10
84 84
     ): string {
85 85
         $color_from ??= 'ffffff';
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
@@ -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/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/Cache.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 T
52 52
      */
53
-    public function remember(string $key, Closure $closure, int|null $ttl = null)
53
+    public function remember(string $key, Closure $closure, int | null $ttl = null)
54 54
     {
55 55
         return $this->cache->get(md5($key), static function (ItemInterface $item) use ($closure, $ttl) {
56 56
             $item->expiresAfter($ttl);
Please login to merge, or discard this patch.