@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Create a note. |
33 | 33 | */ |
34 | - public function make(string $xref, Tree $tree, string|null $gedcom = null): SharedNote|null; |
|
34 | + public function make(string $xref, Tree $tree, string | null $gedcom = null): SharedNote | null; |
|
35 | 35 | |
36 | 36 | /** |
37 | 37 | * Create a note from a row in the database. |
@@ -53,5 +53,5 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @return SharedNote |
55 | 55 | */ |
56 | - public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): SharedNote; |
|
56 | + public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): SharedNote; |
|
57 | 57 | } |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Create a source. |
33 | 33 | */ |
34 | - public function make(string $xref, Tree $tree, string|null $gedcom = null): Source|null; |
|
34 | + public function make(string $xref, Tree $tree, string | null $gedcom = null): Source | null; |
|
35 | 35 | |
36 | 36 | /** |
37 | 37 | * Create a source from a row in the database. |
@@ -53,5 +53,5 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @return Source |
55 | 55 | */ |
56 | - public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Source; |
|
56 | + public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): Source; |
|
57 | 57 | } |
@@ -29,7 +29,7 @@ |
||
29 | 29 | /** |
30 | 30 | * Detect an encoding from a GEDCOM header record. |
31 | 31 | */ |
32 | - public function detect(string $header): EncodingInterface|null; |
|
32 | + public function detect(string $header): EncodingInterface | null; |
|
33 | 33 | |
34 | 34 | /** |
35 | 35 | * Create a named encoding. |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Create a header. |
33 | 33 | */ |
34 | - public function make(string $xref, Tree $tree, string|null $gedcom = null): Header|null; |
|
34 | + public function make(string $xref, Tree $tree, string | null $gedcom = null): Header | null; |
|
35 | 35 | |
36 | 36 | /** |
37 | 37 | * Create a header from a row in the database. |
@@ -53,5 +53,5 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @return Header |
55 | 55 | */ |
56 | - public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Header; |
|
56 | + public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): Header; |
|
57 | 57 | } |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Create an individual. |
33 | 33 | */ |
34 | - public function make(string $xref, Tree $tree, string|null $gedcom = null): Individual|null; |
|
34 | + public function make(string $xref, Tree $tree, string | null $gedcom = null): Individual | null; |
|
35 | 35 | |
36 | 36 | /** |
37 | 37 | * Create an individual from a row in the database. |
@@ -53,5 +53,5 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @return Individual |
55 | 55 | */ |
56 | - public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Individual; |
|
56 | + public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): Individual; |
|
57 | 57 | } |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Create a submitter. |
33 | 33 | */ |
34 | - public function make(string $xref, Tree $tree, string|null $gedcom = null): Submitter|null; |
|
34 | + public function make(string $xref, Tree $tree, string | null $gedcom = null): Submitter | null; |
|
35 | 35 | |
36 | 36 | /** |
37 | 37 | * Create a submitter from a row in the database. |
@@ -53,5 +53,5 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @return Submitter |
55 | 55 | */ |
56 | - public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Submitter; |
|
56 | + public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): Submitter; |
|
57 | 57 | } |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Create a repository. |
33 | 33 | */ |
34 | - public function make(string $xref, Tree $tree, string|null $gedcom = null): Repository|null; |
|
34 | + public function make(string $xref, Tree $tree, string | null $gedcom = null): Repository | null; |
|
35 | 35 | |
36 | 36 | /** |
37 | 37 | * Create a source from a row in the database. |
@@ -53,5 +53,5 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @return Repository |
55 | 55 | */ |
56 | - public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Repository; |
|
56 | + public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): Repository; |
|
57 | 57 | } |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Create a Location. |
33 | 33 | */ |
34 | - public function make(string $xref, Tree $tree, string|null $gedcom = null): Location|null; |
|
34 | + public function make(string $xref, Tree $tree, string | null $gedcom = null): Location | null; |
|
35 | 35 | |
36 | 36 | /** |
37 | 37 | * Create a Location from a row in the database. |
@@ -53,5 +53,5 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @return Location |
55 | 55 | */ |
56 | - public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Location; |
|
56 | + public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): Location; |
|
57 | 57 | } |
@@ -69,7 +69,7 @@ |
||
69 | 69 | * |
70 | 70 | * @return object{id:string,year:int,fact:string,type:string}|null |
71 | 71 | */ |
72 | - private function eventQuery(string $fact, string $operation): object|null |
|
72 | + private function eventQuery(string $fact, string $operation): object | null |
|
73 | 73 | { |
74 | 74 | return DB::table('dates') |
75 | 75 | ->select(['d_gid as id', 'd_year as year', 'd_fact AS fact', 'd_type AS type']) |