@@ -55,5 +55,5 @@ |
||
| 55 | 55 | * |
| 56 | 56 | * @return Media |
| 57 | 57 | */ |
| 58 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Media; |
|
| 58 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Media; |
|
| 59 | 59 | } |
@@ -55,5 +55,5 @@ |
||
| 55 | 55 | * |
| 56 | 56 | * @return Repository |
| 57 | 57 | */ |
| 58 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Repository; |
|
| 58 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Repository; |
|
| 59 | 59 | } |
@@ -55,5 +55,5 @@ |
||
| 55 | 55 | * |
| 56 | 56 | * @return Submitter |
| 57 | 57 | */ |
| 58 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Submitter; |
|
| 58 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Submitter; |
|
| 59 | 59 | } |
@@ -55,5 +55,5 @@ |
||
| 55 | 55 | * |
| 56 | 56 | * @return Individual |
| 57 | 57 | */ |
| 58 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Individual; |
|
| 58 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Individual; |
|
| 59 | 59 | } |
@@ -55,5 +55,5 @@ |
||
| 55 | 55 | * |
| 56 | 56 | * @return Source |
| 57 | 57 | */ |
| 58 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Source; |
|
| 58 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Source; |
|
| 59 | 59 | } |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | * |
| 86 | 86 | * @return Header |
| 87 | 87 | */ |
| 88 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Header |
|
| 88 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Header |
|
| 89 | 89 | { |
| 90 | 90 | return new Header($xref, $gedcom, $pending, $tree); |
| 91 | 91 | } |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | * |
| 86 | 86 | * @return Submission |
| 87 | 87 | */ |
| 88 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Submission |
|
| 88 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Submission |
|
| 89 | 89 | { |
| 90 | 90 | return new Submission($xref, $gedcom, $pending, $tree); |
| 91 | 91 | } |
@@ -82,7 +82,7 @@ |
||
| 82 | 82 | if (error_get_last() !== null && error_get_last()['type'] & E_ERROR) { |
| 83 | 83 | // If PHP does not display the error, then we must display it. |
| 84 | 84 | if (ini_get('display_errors') !== '1') { |
| 85 | - echo error_get_last()['message'], '<br><br>', error_get_last()['file'] , ': ', error_get_last()['line']; |
|
| 85 | + echo error_get_last()['message'], '<br><br>', error_get_last()['file'], ': ', error_get_last()['line']; |
|
| 86 | 86 | } |
| 87 | 87 | } |
| 88 | 88 | }); |
@@ -59,6 +59,6 @@ |
||
| 59 | 59 | * |
| 60 | 60 | * @return Submission |
| 61 | 61 | */ |
| 62 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Submission; |
|
| 62 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Submission; |
|
| 63 | 63 | |
| 64 | 64 | } |