@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | break; |
136 | 136 | |
137 | 137 | case 'DATE': |
138 | - $attributes += [ |
|
138 | + $attributes += [ |
|
139 | 139 | 'type' => 'text', |
140 | 140 | 'value' => $input['default'], |
141 | 141 | 'dir' => 'ltr', |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | default: |
149 | 149 | switch ($input['type']) { |
150 | 150 | case 'text': |
151 | - $attributes += [ |
|
151 | + $attributes += [ |
|
152 | 152 | 'type' => 'text', |
153 | 153 | 'value' => $input['default'], |
154 | 154 | ]; |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | break; |
157 | 157 | |
158 | 158 | case 'checkbox': |
159 | - $attributes += [ |
|
159 | + $attributes += [ |
|
160 | 160 | 'type' => 'checkbox', |
161 | 161 | 'checked' => (bool) $input['default'], |
162 | 162 | ]; |
@@ -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 | } |
@@ -59,5 +59,5 @@ |
||
59 | 59 | * |
60 | 60 | * @return Header |
61 | 61 | */ |
62 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Header; |
|
62 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Header; |
|
63 | 63 | } |
@@ -50,7 +50,7 @@ |
||
50 | 50 | * |
51 | 51 | * @return GedcomRecord |
52 | 52 | */ |
53 | - public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): GedcomRecord; |
|
53 | + public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : GedcomRecord; |
|
54 | 54 | |
55 | 55 | /** |
56 | 56 | * Create a GedcomRecord object from a row in the database. |