Passed
Push — main ( 673106...063e5b )
by Greg
08:00
created
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.
app/Module/FrequentlyAskedQuestionsModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
      *
99 99
      * @return Menu|null
100 100
      */
101
-    public function getMenu(Tree $tree): Menu|null
101
+    public function getMenu(Tree $tree): Menu | null
102 102
     {
103 103
         if ($this->faqsExist($tree, I18N::languageTag())) {
104 104
             return new Menu($this->title(), route('module', [
Please login to merge, or discard this patch.
app/Module/ModuleChartInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     /**
31 31
      * A menu item for this chart for an individual box in a chart.
32 32
      */
33
-    public function chartBoxMenu(Individual $individual): Menu|null;
33
+    public function chartBoxMenu(Individual $individual): Menu | null;
34 34
 
35 35
     /**
36 36
      * A main menu item for this chart.
Please login to merge, or discard this patch.
app/Module/PlaceHierarchyListModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -338,7 +338,7 @@
 block discarded – undo
338 338
      *
339 339
      * @return array{columns:array<array<Place>>,place:Place,tree:Tree,col_class:string}|null
340 340
      */
341
-    private function getHierarchy(Place $place): array|null
341
+    private function getHierarchy(Place $place): array | null
342 342
     {
343 343
         $child_places = $place->getChildPlaces();
344 344
         $numfound     = count($child_places);
Please login to merge, or discard this patch.
app/Module/ChartsMenuModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     /**
81 81
      * A menu, to be added to the main application menu.
82 82
      */
83
-    public function getMenu(Tree $tree): Menu|null
83
+    public function getMenu(Tree $tree): Menu | null
84 84
     {
85 85
         $request    = Registry::container()->get(ServerRequestInterface::class);
86 86
         $xref       = Validator::attributes($request)->isXref()->string('xref', '');
Please login to merge, or discard this patch.