Passed
Push — main ( 8f299c...0837ee )
by Greg
14:47 queued 07:43
created
app/Module/NotesTabModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     use ModuleTabTrait;
34 34
 
35 35
     /** @var Collection<array-key,Fact>|null  */
36
-    private Collection|null $facts = null;
36
+    private Collection | null $facts = null;
37 37
 
38 38
     private ClipboardService $clipboard_service;
39 39
 
Please login to merge, or discard this patch.
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/Services/HomePageService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -385,7 +385,7 @@
 block discarded – undo
385 385
      */
386 386
     private function filterActiveBlocks(Collection $blocks, Collection $active_blocks): Collection
387 387
     {
388
-        return $blocks->map(static fn (string $block_name): ModuleBlockInterface|null => $active_blocks->filter(static fn (ModuleInterface $block): bool => $block->name() === $block_name)->first())
388
+        return $blocks->map(static fn (string $block_name): ModuleBlockInterface | null => $active_blocks->filter(static fn (ModuleInterface $block): bool => $block->name() === $block_name)->first())
389 389
             ->filter();
390 390
     }
391 391
 }
Please login to merge, or discard this patch.
app/Services/ModuleService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -696,7 +696,7 @@  discard block
 block discarded – undo
696 696
 
697 697
                 return strlen($module_name) <= 30;
698 698
             })
699
-            ->map(static function (string $filename): ModuleCustomInterface|null {
699
+            ->map(static function (string $filename): ModuleCustomInterface | null {
700 700
                 $module = self::load($filename);
701 701
 
702 702
                 if ($module instanceof ModuleCustomInterface) {
@@ -714,7 +714,7 @@  discard block
 block discarded – undo
714 714
     /**
715 715
      * Load a custom module in a static scope, to prevent it from modifying local or object variables.
716 716
      */
717
-    private static function load(string $filename): ModuleInterface|null
717
+    private static function load(string $filename): ModuleInterface | null
718 718
     {
719 719
         try {
720 720
             return include $filename;
@@ -826,7 +826,7 @@  discard block
 block discarded – undo
826 826
     /**
827 827
      * Find a specified module, if it is currently active.
828 828
      */
829
-    public function findByName(string $module_name, bool $include_disabled = false): ModuleInterface|null
829
+    public function findByName(string $module_name, bool $include_disabled = false): ModuleInterface | null
830 830
     {
831 831
         return $this->all($include_disabled)
832 832
             ->first(static fn (ModuleInterface $module): bool => $module->name() === $module_name);
Please login to merge, or discard this patch.