@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | */ |
35 | 35 | class SubmitterFactory extends AbstractGedcomRecordFactory implements SubmitterFactoryInterface |
36 | 36 | { |
37 | - private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Submitter::RECORD_TYPE .'/'; |
|
37 | + private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Submitter::RECORD_TYPE . '/'; |
|
38 | 38 | |
39 | 39 | /** |
40 | 40 | * Create a submitter. |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | * |
90 | 90 | * @return Submitter |
91 | 91 | */ |
92 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Submitter |
|
92 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Submitter |
|
93 | 93 | { |
94 | 94 | return new Submitter($xref, $gedcom, $pending, $tree); |
95 | 95 | } |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | */ |
35 | 35 | class HeaderFactory extends AbstractGedcomRecordFactory implements HeaderFactoryInterface |
36 | 36 | { |
37 | - private const TYPE_CHECK_REGEX = '/^0 ' . Header::RECORD_TYPE .'/'; |
|
37 | + private const TYPE_CHECK_REGEX = '/^0 ' . Header::RECORD_TYPE . '/'; |
|
38 | 38 | |
39 | 39 | /** |
40 | 40 | * Create a header. |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | * |
90 | 90 | * @return Header |
91 | 91 | */ |
92 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Header |
|
92 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Header |
|
93 | 93 | { |
94 | 94 | return new Header($xref, $gedcom, $pending, $tree); |
95 | 95 | } |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | */ |
35 | 35 | class SubmissionFactory extends AbstractGedcomRecordFactory implements SubmissionFactoryInterface |
36 | 36 | { |
37 | - private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Submission::RECORD_TYPE .'/'; |
|
37 | + private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Submission::RECORD_TYPE . '/'; |
|
38 | 38 | |
39 | 39 | /** |
40 | 40 | * Create a submission. |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | * |
90 | 90 | * @return Submission |
91 | 91 | */ |
92 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Submission |
|
92 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Submission |
|
93 | 93 | { |
94 | 94 | return new Submission($xref, $gedcom, $pending, $tree); |
95 | 95 | } |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | */ |
35 | 35 | class IndividualFactory extends AbstractGedcomRecordFactory implements IndividualFactoryInterface |
36 | 36 | { |
37 | - private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Individual::RECORD_TYPE .'/'; |
|
37 | + private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Individual::RECORD_TYPE . '/'; |
|
38 | 38 | |
39 | 39 | /** |
40 | 40 | * Create an individual. |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | * |
89 | 89 | * @return Individual |
90 | 90 | */ |
91 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Individual |
|
91 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Individual |
|
92 | 92 | { |
93 | 93 | return new Individual($xref, $gedcom, $pending, $tree); |
94 | 94 | } |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | */ |
35 | 35 | class MediaFactory extends AbstractGedcomRecordFactory implements MediaFactoryInterface |
36 | 36 | { |
37 | - private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Media::RECORD_TYPE .'/'; |
|
37 | + private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Media::RECORD_TYPE . '/'; |
|
38 | 38 | |
39 | 39 | /** |
40 | 40 | * Create a individual. |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | * |
90 | 90 | * @return Media |
91 | 91 | */ |
92 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Media |
|
92 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Media |
|
93 | 93 | { |
94 | 94 | return new Media($xref, $gedcom, $pending, $tree); |
95 | 95 | } |
@@ -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 | } |