Passed
Push — main ( b6570f...2e616b )
by Greg
07:00
created
app/Module/CompactTreeChartModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
     /**
105 105
      * Return a menu item for this chart - for use in individual boxes.
106 106
      */
107
-    public function chartBoxMenu(Individual $individual): Menu|null
107
+    public function chartBoxMenu(Individual $individual): Menu | null
108 108
     {
109 109
         return $this->chartMenu($individual);
110 110
     }
Please login to merge, or discard this patch.
app/Module/FixNameSlashesAndSpaces.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
      *
93 93
      * @return Collection<int,string>|null
94 94
      */
95
-    protected function individualsToFix(Tree $tree, array $params): Collection|null
95
+    protected function individualsToFix(Tree $tree, array $params): Collection | null
96 96
     {
97 97
         // No DB querying possible?  Select all.
98 98
         return $this->individualsToFixQuery($tree, $params)
Please login to merge, or discard this patch.
app/Module/FamilyTreeFavoritesModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -252,7 +252,7 @@
 block discarded – undo
252 252
         ]);
253 253
     }
254 254
 
255
-    private function getRecordForType(string $type, string $xref, Tree $tree): GedcomRecord|null
255
+    private function getRecordForType(string $type, string $xref, Tree $tree): GedcomRecord | null
256 256
     {
257 257
         switch ($type) {
258 258
             case 'indi':
Please login to merge, or discard this patch.
app/Module/HourglassChartModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
      *
142 142
      * @return Menu|null
143 143
      */
144
-    public function chartBoxMenu(Individual $individual): Menu|null
144
+    public function chartBoxMenu(Individual $individual): Menu | null
145 145
     {
146 146
         return $this->chartMenu($individual);
147 147
     }
Please login to merge, or discard this patch.
app/Module/RelationshipsChartModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
      *
142 142
      * @return Menu|null
143 143
      */
144
-    public function chartBoxMenu(Individual $individual): Menu|null
144
+    public function chartBoxMenu(Individual $individual): Menu | null
145 145
     {
146 146
         return $this->chartMenu($individual);
147 147
     }
Please login to merge, or discard this patch.
app/SurnameTradition/PolishSurnameTradition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      *
88 88
      * @return array<int,string>
89 89
      */
90
-    public function newChildNames(Individual|null $father, Individual|null $mother, string $sex): array
90
+    public function newChildNames(Individual | null $father, Individual | null $mother, string $sex): array
91 91
     {
92 92
         if (preg_match(self::REGEX_SURN, $this->extractName($father), $match) === 1) {
93 93
             if ($sex === 'F') {
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
@@ -53,8 +53,8 @@
 block discarded – undo
53 53
     public function chartIndisWithSources(
54 54
         int $tot_indi,
55 55
         int $tot_indi_source,
56
-        string|null $color_from = null,
57
-        string|null $color_to = null
56
+        string | null $color_from = null,
57
+        string | null $color_to = null
58 58
     ): string {
59 59
         $color_from ??= 'ffffff';
60 60
         $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
@@ -111,8 +111,8 @@
 block discarded – undo
111 111
     public function chartCommonSurnames(
112 112
         int $tot_indi,
113 113
         array $all_surnames,
114
-        string|null $color_from = null,
115
-        string|null $color_to = null
114
+        string | null $color_from = null,
115
+        string | null $color_to = null
116 116
     ): string {
117 117
         $color_from ??= 'ffffff';
118 118
         $color_to ??= '84beff';
Please login to merge, or discard this patch.
app/Statistics/Google/ChartMedia.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@
 block discarded – undo
52 52
      */
53 53
     public function chartMedia(
54 54
         array $media,
55
-        string|null $color_from = null,
56
-        string|null $color_to = null
55
+        string | null $color_from = null,
56
+        string | null $color_to = null
57 57
     ): string {
58 58
         $color_from ??= 'ffffff';
59 59
         $color_to ??= '84beff';
Please login to merge, or discard this patch.