@@ -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): Note|null; |
|
| 34 | + public function make(string $xref, Tree $tree, string | null $gedcom = null): Note | 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 Note |
| 55 | 55 | */ |
| 56 | - public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Note; |
|
| 56 | + public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): Note; |
|
| 57 | 57 | } |
@@ -30,7 +30,7 @@ discard block |
||
| 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 |
||
| 39 | 39 | * |
| 40 | 40 | * @return TimestampInterface |
| 41 | 41 | */ |
| 42 | - public function fromString(string|null $string, string $format = 'Y-m-d H:i:s', UserInterface|null $user = null): TimestampInterface; |
|
| 42 | + public function fromString(string | null $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 | } |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | /** |
| 32 | 32 | * Create a GedcomRecord object. |
| 33 | 33 | */ |
| 34 | - public function make(string $xref, Tree $tree, string|null $gedcom = null): GedcomRecord|null; |
|
| 34 | + public function make(string $xref, Tree $tree, string | null $gedcom = null): GedcomRecord | null; |
|
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * Create a GedcomRecord object from raw GEDCOM data. |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | * |
| 45 | 45 | * @return GedcomRecord |
| 46 | 46 | */ |
| 47 | - public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): GedcomRecord; |
|
| 47 | + public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): GedcomRecord; |
|
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | 50 | * Create a GedcomRecord object from a row in the database. |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | /** |
| 32 | 32 | * Create a family. |
| 33 | 33 | */ |
| 34 | - public function make(string $xref, Tree $tree, string|null $gedcom = null): Family|null; |
|
| 34 | + public function make(string $xref, Tree $tree, string | null $gedcom = null): Family | null; |
|
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * Create a Family object from a row in the database. |
@@ -53,5 +53,5 @@ discard block |
||
| 53 | 53 | * |
| 54 | 54 | * @return Family |
| 55 | 55 | */ |
| 56 | - public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Family; |
|
| 56 | + public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): Family; |
|
| 57 | 57 | } |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | /** |
| 32 | 32 | * Create a submission. |
| 33 | 33 | */ |
| 34 | - public function make(string $xref, Tree $tree, string|null $gedcom = null): Submission|null; |
|
| 34 | + public function make(string $xref, Tree $tree, string | null $gedcom = null): Submission | null; |
|
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * Create a submission from a row in the database. |
@@ -53,5 +53,5 @@ discard block |
||
| 53 | 53 | * |
| 54 | 54 | * @return Submission |
| 55 | 55 | */ |
| 56 | - public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Submission; |
|
| 56 | + public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): Submission; |
|
| 57 | 57 | } |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | /** |
| 32 | 32 | * Create a media object. |
| 33 | 33 | */ |
| 34 | - public function make(string $xref, Tree $tree, string|null $gedcom = null): Media|null; |
|
| 34 | + public function make(string $xref, Tree $tree, string | null $gedcom = null): Media | null; |
|
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * Create a media object from a row in the database. |
@@ -53,5 +53,5 @@ discard block |
||
| 53 | 53 | * |
| 54 | 54 | * @return Media |
| 55 | 55 | */ |
| 56 | - public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Media; |
|
| 56 | + public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): Media; |
|
| 57 | 57 | } |
@@ -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. |