Passed
Push — dbal ( 7b803f...ab892e )
by Greg
21:18 queued 14:34
created
app/Factories/NoteFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      *
45 45
      * @return Note|null
46 46
      */
47
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Note
47
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): ?Note
48 48
     {
49 49
         return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () use ($xref, $tree, $gedcom) {
50 50
             $gedcom ??= $this->gedcom($xref, $tree);
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      *
84 84
      * @return Note
85 85
      */
86
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Note
86
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Note
87 87
     {
88 88
         return new Note($xref, $gedcom, $pending, $tree);
89 89
     }
Please login to merge, or discard this patch.
app/Factories/HeaderFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      *
45 45
      * @return Header|null
46 46
      */
47
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Header
47
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): ?Header
48 48
     {
49 49
         return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () use ($xref, $tree, $gedcom) {
50 50
             $gedcom ??= $this->gedcom($xref, $tree);
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      *
84 84
      * @return Header
85 85
      */
86
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Header
86
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Header
87 87
     {
88 88
         return new Header($xref, $gedcom, $pending, $tree);
89 89
     }
Please login to merge, or discard this patch.
app/Factories/SharedNoteFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      *
45 45
      * @return SharedNote|null
46 46
      */
47
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): ?SharedNote
47
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): ?SharedNote
48 48
     {
49 49
         return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () use ($xref, $tree, $gedcom) {
50 50
             $gedcom ??= $this->gedcom($xref, $tree);
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      *
84 84
      * @return SharedNote
85 85
      */
86
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): SharedNote
86
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : SharedNote
87 87
     {
88 88
         return new SharedNote($xref, $gedcom, $pending, $tree);
89 89
     }
Please login to merge, or discard this patch.
app/Factories/MarkdownFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      *
84 84
      * @return string
85 85
      */
86
-    public function autolink(string $markdown, Tree|null $tree = null): string
86
+    public function autolink(string $markdown, Tree | null $tree = null): string
87 87
     {
88 88
         // Create a minimal commonmark processor - just add support for auto-links.
89 89
         $environment = new Environment(static::CONFIG_AUTOLINK);
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      *
118 118
      * @return string
119 119
      */
120
-    public function markdown(string $markdown, Tree|null $tree = null): string
120
+    public function markdown(string $markdown, Tree | null $tree = null): string
121 121
     {
122 122
         $environment = new Environment(static::CONFIG_MARKDOWN);
123 123
         $environment->addExtension(new CommonMarkCoreExtension());
Please login to merge, or discard this patch.
app/Factories/SubmitterFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      *
45 45
      * @return Submitter|null
46 46
      */
47
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Submitter
47
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): ?Submitter
48 48
     {
49 49
         return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () use ($xref, $tree, $gedcom) {
50 50
             $gedcom ??= $this->gedcom($xref, $tree);
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      *
84 84
      * @return Submitter
85 85
      */
86
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Submitter
86
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Submitter
87 87
     {
88 88
         return new Submitter($xref, $gedcom, $pending, $tree);
89 89
     }
Please login to merge, or discard this patch.
app/Factories/LocationFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      *
45 45
      * @return Location|null
46 46
      */
47
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Location
47
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): ?Location
48 48
     {
49 49
         return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () use ($xref, $tree, $gedcom) {
50 50
             $gedcom ??= $this->gedcom($xref, $tree);
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      *
84 84
      * @return Location
85 85
      */
86
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Location
86
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Location
87 87
     {
88 88
         return new Location($xref, $gedcom, $pending, $tree);
89 89
     }
Please login to merge, or discard this patch.
app/Factories/RepositoryFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      *
46 46
      * @return Repository|null
47 47
      */
48
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Repository
48
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): ?Repository
49 49
     {
50 50
         return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () use ($xref, $tree, $gedcom) {
51 51
             $gedcom ??= $this->gedcom($xref, $tree);
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      *
90 90
      * @return Repository
91 91
      */
92
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Repository
92
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Repository
93 93
     {
94 94
         return new Repository($xref, $gedcom, $pending, $tree);
95 95
     }
Please login to merge, or discard this patch.
app/Factories/IndividualFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      *
45 45
      * @return Individual|null
46 46
      */
47
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Individual
47
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): ?Individual
48 48
     {
49 49
         return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () use ($xref, $tree, $gedcom) {
50 50
             $gedcom ??= $this->gedcom($xref, $tree);
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      *
83 83
      * @return Individual
84 84
      */
85
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Individual
85
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Individual
86 86
     {
87 87
         return new Individual($xref, $gedcom, $pending, $tree);
88 88
     }
Please login to merge, or discard this patch.
app/Factories/FamilyFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      *
46 46
      * @return Family|null
47 47
      */
48
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Family
48
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): ?Family
49 49
     {
50 50
         return Registry::cache()->array()->remember(self::class . $xref . '@' . $tree->id(), function () use ($xref, $tree, $gedcom) {
51 51
             $gedcom ??= $this->gedcom($xref, $tree);
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      *
93 93
      * @return Family
94 94
      */
95
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Family
95
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Family
96 96
     {
97 97
         return new Family($xref, $gedcom, $pending, $tree);
98 98
     }
Please login to merge, or discard this patch.