@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | */ |
35 | 35 | class NoteFactory extends AbstractGedcomRecordFactory implements NoteFactoryInterface |
36 | 36 | { |
37 | - private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Note::RECORD_TYPE .'/'; |
|
37 | + private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Note::RECORD_TYPE . '/'; |
|
38 | 38 | |
39 | 39 | /** |
40 | 40 | * Create a note. |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | * |
90 | 90 | * @return Note |
91 | 91 | */ |
92 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Note |
|
92 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Note |
|
93 | 93 | { |
94 | 94 | return new Note($xref, $gedcom, $pending, $tree); |
95 | 95 | } |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | */ |
37 | 37 | class FamilyFactory extends AbstractGedcomRecordFactory implements FamilyFactoryInterface |
38 | 38 | { |
39 | - private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Family::RECORD_TYPE .'/'; |
|
39 | + private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Family::RECORD_TYPE . '/'; |
|
40 | 40 | |
41 | 41 | /** |
42 | 42 | * Create a family. |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * |
100 | 100 | * @return Family |
101 | 101 | */ |
102 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Family |
|
102 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Family |
|
103 | 103 | { |
104 | 104 | return new Family($xref, $gedcom, $pending, $tree); |
105 | 105 | } |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | */ |
35 | 35 | class RepositoryFactory extends AbstractGedcomRecordFactory implements RepositoryFactoryInterface |
36 | 36 | { |
37 | - private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Repository::RECORD_TYPE .'/'; |
|
37 | + private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Repository::RECORD_TYPE . '/'; |
|
38 | 38 | |
39 | 39 | /** |
40 | 40 | * Create a repository. |
@@ -89,7 +89,7 @@ discard block |
||
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 | } |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | */ |
35 | 35 | class SourceFactory extends AbstractGedcomRecordFactory implements SourceFactoryInterface |
36 | 36 | { |
37 | - private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Source::RECORD_TYPE .'/'; |
|
37 | + private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Source::RECORD_TYPE . '/'; |
|
38 | 38 | |
39 | 39 | |
40 | 40 | /** |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | * |
91 | 91 | * @return Source |
92 | 92 | */ |
93 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Source |
|
93 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Source |
|
94 | 94 | { |
95 | 95 | return new Source($xref, $gedcom, $pending, $tree); |
96 | 96 | } |