Passed
Pull Request — main (#5166)
by Bernard
07:26
created
app/Module/ModuleMenuInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,5 +57,5 @@
 block discarded – undo
57 57
      *
58 58
      * @return Menu|null
59 59
      */
60
-    public function getMenu(Tree $tree): Menu|null;
60
+    public function getMenu(Tree $tree): Menu | null;
61 61
 }
Please login to merge, or discard this patch.
app/Module/FixDuplicateLinks.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/StoriesModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
      *
185 185
      * @return Menu|null
186 186
      */
187
-    public function getMenu(Tree $tree): Menu|null
187
+    public function getMenu(Tree $tree): Menu | null
188 188
     {
189 189
         return new Menu($this->title(), route('module', [
190 190
             'module' => $this->name(),
Please login to merge, or discard this patch.
app/Module/ModuleListTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      *
49 49
      * @return Menu|null
50 50
      */
51
-    public function listMenu(Tree $tree): Menu|null
51
+    public function listMenu(Tree $tree): Menu | null
52 52
     {
53 53
         if ($this->listIsEmpty($tree)) {
54 54
             return null;
Please login to merge, or discard this patch.
app/Module/CalendarMenuModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     /**
67 67
      * A menu, to be added to the main application menu.
68 68
      */
69
-    public function getMenu(Tree $tree): Menu|null
69
+    public function getMenu(Tree $tree): Menu | null
70 70
     {
71 71
         $submenu = [
72 72
             $this->calendarDayMenu($tree),
Please login to merge, or discard this patch.
app/Module/FixMissingDeaths.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
      *
76 76
      * @return Collection<int,string>|null
77 77
      */
78
-    protected function individualsToFix(Tree $tree, array $params): Collection|null
78
+    protected function individualsToFix(Tree $tree, array $params): Collection | null
79 79
     {
80 80
         $query = $this->individualsToFixQuery($tree, $params);
81 81
 
Please login to merge, or discard this patch.
app/Module/ModuleChartTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      *
49 49
      * @return Menu|null
50 50
      */
51
-    public function chartBoxMenu(Individual $individual): Menu|null
51
+    public function chartBoxMenu(Individual $individual): Menu | null
52 52
     {
53 53
         return null;
54 54
     }
Please login to merge, or discard this patch.
app/Module/PedigreeChartModule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      *
131 131
      * @return Menu|null
132 132
      */
133
-    public function chartBoxMenu(Individual $individual): Menu|null
133
+    public function chartBoxMenu(Individual $individual): Menu | null
134 134
     {
135 135
         return $this->chartMenu($individual);
136 136
     }
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
 
201 201
             // Father’s ancestors link to the father’s pedigree
202 202
             // Mother’s ancestors link to the mother’s pedigree..
203
-            $links = $ancestors->map(function (Individual|null $individual, $sosa) use ($ancestors, $style, $generations): string {
203
+            $links = $ancestors->map(function (Individual | null $individual, $sosa) use ($ancestors, $style, $generations): string {
204 204
                 if ($individual instanceof Individual && $sosa >= 2 ** $generations / 2 && $individual->childFamilies()->isNotEmpty()) {
205 205
                     // The last row/column, and there are more generations.
206 206
                     if ($sosa >= 2 ** $generations * 3 / 4) {
Please login to merge, or discard this patch.
app/Module/ModuleListInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      *
35 35
      * @return Menu|null
36 36
      */
37
-    public function listMenu(Tree $tree): Menu|null;
37
+    public function listMenu(Tree $tree): Menu | null;
38 38
 
39 39
     /**
40 40
      * CSS class for the menu.
Please login to merge, or discard this patch.