Passed
Push — develop ( 7a5311...dd0df0 )
by Greg
09:04
created
app/Http/Controllers/CalendarController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
                 $anniversary_facts = $this->calendar_service->getCalendarEvents($ged_year->minimumJulianDay(), $ged_year->maximumJulianDay(), $filterev, $tree);
292 292
             }
293 293
 
294
-            $anniversary_facts   = $this->applyFilter($anniversary_facts, $filterof, $filtersx);
294
+            $anniversary_facts = $this->applyFilter($anniversary_facts, $filterof, $filtersx);
295 295
             $anniversaries = Collection::make($anniversary_facts)
296 296
                 ->unique()
297 297
                 ->sort(static function (Fact $x, Fact $y): int {
@@ -467,7 +467,7 @@  discard block
 block discarded – undo
467 467
      */
468 468
     private function applyFilter(array $facts, string $filterof, string $filtersx): array
469 469
     {
470
-        $filtered      = [];
470
+        $filtered = [];
471 471
         $hundred_years_ago = Carbon::now()->subYears(100)->julianDay();
472 472
         foreach ($facts as $fact) {
473 473
             $record = $fact->record();
@@ -519,7 +519,7 @@  discard block
 block discarded – undo
519 519
         $html = '';
520 520
 
521 521
         foreach ($list as $xref => $facts) {
522
-            $tmp  = GedcomRecord::getInstance((string) $xref, $tree);
522
+            $tmp = GedcomRecord::getInstance((string) $xref, $tree);
523 523
             $html .= $tag1 . '<a href="' . e($tmp->url()) . '">' . $tmp->fullName() . '</a> ';
524 524
             $html .= '<div class="indent">' . $facts . '</div>' . $tag2;
525 525
         }
Please login to merge, or discard this patch.
app/Contracts/SubmissionFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,6 +59,6 @@
 block discarded – undo
59 59
      *
60 60
      * @return Submission
61 61
      */
62
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Submission;
62
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Submission;
63 63
 
64 64
 }
Please login to merge, or discard this patch.
app/Contracts/HeaderFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,5 +59,5 @@
 block discarded – undo
59 59
      *
60 60
      * @return Header
61 61
      */
62
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Header;
62
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Header;
63 63
 }
Please login to merge, or discard this patch.
app/Contracts/GedcomRecordFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      *
51 51
      * @return GedcomRecord
52 52
      */
53
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): GedcomRecord;
53
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : GedcomRecord;
54 54
 
55 55
     /**
56 56
      * Create a GedcomRecord object from a row in the database.
Please login to merge, or discard this patch.
app/Http/RequestHandlers/Select2Individual.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function __construct(SearchService $search_service)
44 44
     {
45
-        $this->search_service     = $search_service;
45
+        $this->search_service = $search_service;
46 46
     }
47 47
 
48 48
     /**
Please login to merge, or discard this patch.
app/Http/RequestHandlers/RepositoryPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
      */
70 70
     public function __construct(ClipboardService $clipboard_service)
71 71
     {
72
-        $this->clipboard_service  = $clipboard_service;
72
+        $this->clipboard_service = $clipboard_service;
73 73
     }
74 74
 
75 75
     /**
Please login to merge, or discard this patch.