Passed
Push — main ( f25b6b...76ecdf )
by Greg
17:21
created
app/Contracts/GedcomRecordFactoryInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      *
38 38
      * @return GedcomRecord|null
39 39
      */
40
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): ?GedcomRecord;
40
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): ?GedcomRecord;
41 41
 
42 42
     /**
43 43
      * Create a GedcomRecord object from raw GEDCOM data.
@@ -50,7 +50,7 @@  discard block
 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/Contracts/RepositoryFactoryInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      *
38 38
      * @return Repository|null
39 39
      */
40
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Repository;
40
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): ?Repository;
41 41
 
42 42
     /**
43 43
      * Create a source from a row in the database.
@@ -59,5 +59,5 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @return Repository
61 61
      */
62
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Repository;
62
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Repository;
63 63
 }
Please login to merge, or discard this patch.
app/Contracts/FamilyFactoryInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      *
38 38
      * @return Family|null
39 39
      */
40
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Family;
40
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): ?Family;
41 41
 
42 42
     /**
43 43
      * Create a Family object from a row in the database.
@@ -59,5 +59,5 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @return Family
61 61
      */
62
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Family;
62
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Family;
63 63
 }
Please login to merge, or discard this patch.
app/Contracts/HeaderFactoryInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      *
38 38
      * @return Header|null
39 39
      */
40
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Header;
40
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): ?Header;
41 41
 
42 42
     /**
43 43
      * Create a header from a row in the database.
@@ -59,5 +59,5 @@  discard block
 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/IndividualFactoryInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      *
38 38
      * @return Individual|null
39 39
      */
40
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Individual;
40
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): ?Individual;
41 41
 
42 42
     /**
43 43
      * Create an individual from a row in the database.
@@ -59,5 +59,5 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @return Individual
61 61
      */
62
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Individual;
62
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Individual;
63 63
 }
Please login to merge, or discard this patch.
app/Contracts/SubmitterFactoryInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      *
38 38
      * @return Submitter|null
39 39
      */
40
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Submitter;
40
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): ?Submitter;
41 41
 
42 42
     /**
43 43
      * Create a submitter from a row in the database.
@@ -59,5 +59,5 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @return Submitter
61 61
      */
62
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Submitter;
62
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Submitter;
63 63
 }
Please login to merge, or discard this patch.
app/Contracts/NoteFactoryInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      *
38 38
      * @return Note|null
39 39
      */
40
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Note;
40
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): ?Note;
41 41
 
42 42
     /**
43 43
      * Create a note from a row in the database.
@@ -59,5 +59,5 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @return Note
61 61
      */
62
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Note;
62
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Note;
63 63
 }
Please login to merge, or discard this patch.
app/Contracts/SourceFactoryInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      *
38 38
      * @return Source|null
39 39
      */
40
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): ?Source;
40
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): ?Source;
41 41
 
42 42
     /**
43 43
      * Create a source from a row in the database.
@@ -59,5 +59,5 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @return Source
61 61
      */
62
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Source;
62
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Source;
63 63
 }
Please login to merge, or discard this patch.
app/Contracts/TimestampFactoryInterface.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      *
31 31
      * @return TimestampInterface
32 32
      */
33
-    public function make(int $timestamp, UserInterface|null $user = null): TimestampInterface;
33
+    public function make(int $timestamp, UserInterface | null $user = null): TimestampInterface;
34 34
 
35 35
     /**
36 36
      * @param string|null        $string YYYY-MM-DD HH:MM:SS (as provided by SQL).
@@ -39,12 +39,12 @@  discard block
 block discarded – undo
39 39
      *
40 40
      * @return TimestampInterface
41 41
      */
42
-    public function fromString(?string $string, string $format = 'Y-m-d H:i:s', UserInterface|null $user = null): TimestampInterface;
42
+    public function fromString(?string $string, string $format = 'Y-m-d H:i:s', UserInterface | null $user = null): TimestampInterface;
43 43
 
44 44
     /**
45 45
      * @param UserInterface|null $user
46 46
      *
47 47
      * @return TimestampInterface
48 48
      */
49
-    public function now(UserInterface|null $user = null): TimestampInterface;
49
+    public function now(UserInterface | null $user = null): TimestampInterface;
50 50
 }
Please login to merge, or discard this patch.