@@ -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. |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | public function __construct(SearchService $search_service) |
| 44 | 44 | { |
| 45 | - $this->search_service = $search_service; |
|
| 45 | + $this->search_service = $search_service; |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | */ |
| 70 | 70 | public function __construct(ClipboardService $clipboard_service) |
| 71 | 71 | { |
| 72 | - $this->clipboard_service = $clipboard_service; |
|
| 72 | + $this->clipboard_service = $clipboard_service; |
|
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | /** |