Passed
Push — main ( efd990...1c67d2 )
by Greg
06:17
created
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.
app/Statistics/Google/ChartMortality.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 chartMortality(
54 54
         int $tot_l,
55 55
         int $tot_d,
56
-        string|null $color_living = null,
57
-        string|null $color_dead = null
56
+        string | null $color_living = null,
57
+        string | null $color_dead = null
58 58
     ): string {
59 59
         $color_living ??= '#ffffff';
60 60
         $color_dead ??= '#cccccc';
Please login to merge, or discard this patch.
app/Statistics/Google/ChartCommonGiven.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 chartCommonGiven(
54 54
         int $tot_indi,
55 55
         array $given,
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/ChartSex.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,9 +42,9 @@
 block discarded – undo
42 42
         int $tot_m,
43 43
         int $tot_f,
44 44
         int $tot_u,
45
-        string|null $color_female = null,
46
-        string|null $color_male = null,
47
-        string|null $color_unknown = null
45
+        string | null $color_female = null,
46
+        string | null $color_male = null,
47
+        string | null $color_unknown = null
48 48
     ): string {
49 49
         $color_female ??= '#ffd1dc';
50 50
         $color_male ??= '#84beff';
Please login to merge, or discard this patch.
app/Statistics/Google/ChartFamilyWithSources.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 chartFamsWithSources(
54 54
         int $tot_fam,
55 55
         int $tot_fam_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/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.