Completed
Push — snyk-fix-d57b96cea0b1abbb28fb6... ( 3f3858 )
by Greg
22:37
created
app/Contracts/NoteFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,5 +55,5 @@
 block discarded – undo
55 55
      *
56 56
      * @return Note
57 57
      */
58
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Note;
58
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Note;
59 59
 }
Please login to merge, or discard this patch.
app/Contracts/MediaFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,5 +55,5 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
app/Contracts/RepositoryFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,5 +55,5 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
app/Contracts/SubmitterFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,5 +55,5 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
app/Contracts/IndividualFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,5 +55,5 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
app/Contracts/SourceFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,5 +55,5 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
app/Factories/HeaderFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
app/Factories/SubmissionFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
app/Functions/FunctionsPrint.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
                     if ($note->canShow()) {
160 160
                         $noterec = $note->gedcom();
161 161
                         $nt      = preg_match("/0 @$nmatch[1]@ NOTE (.*)/", $noterec, $n1match);
162
-                        $data    .= self::printNoteRecord($tree, $nt > 0 ? $n1match[1] : '', 1, $noterec);
162
+                        $data .= self::printNoteRecord($tree, $nt > 0 ? $n1match[1] : '', 1, $noterec);
163 163
                     }
164 164
                 } else {
165 165
                     $data = '<div class="fact_NOTE"><span class="label">' . I18N::translate('Note') . '</span>: <span class="field error">' . $nmatch[1] . '</span></div>';
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
                         }
260 260
                     },
261 261
                     $age_string
262
-                ) ;
262
+                );
263 263
         }
264 264
     }
265 265
 
@@ -393,20 +393,20 @@  discard block
 block discarded – undo
393 393
                 if (preg_match_all('/\n3 (?:_HEB|ROMN) (.+)/', $placerec, $matches)) {
394 394
                     foreach ($matches[1] as $match) {
395 395
                         $wt_place = new Place($match, $tree);
396
-                        $html     .= ' - ' . $wt_place->fullName();
396
+                        $html .= ' - ' . $wt_place->fullName();
397 397
                     }
398 398
                 }
399 399
                 $map_lati = '';
400 400
                 $cts      = preg_match('/\d LATI (.*)/', $placerec, $match);
401 401
                 if ($cts > 0) {
402 402
                     $map_lati = $match[1];
403
-                    $html     .= '<br><span class="label">' . I18N::translate('Latitude') . ': </span>' . $map_lati;
403
+                    $html .= '<br><span class="label">' . I18N::translate('Latitude') . ': </span>' . $map_lati;
404 404
                 }
405 405
                 $map_long = '';
406 406
                 $cts      = preg_match('/\d LONG (.*)/', $placerec, $match);
407 407
                 if ($cts > 0) {
408 408
                     $map_long = $match[1];
409
-                    $html     .= ' <span class="label">' . I18N::translate('Longitude') . ': </span>' . $map_long;
409
+                    $html .= ' <span class="label">' . I18N::translate('Longitude') . ': </span>' . $map_long;
410 410
                 }
411 411
                 if ($map_lati && $map_long) {
412 412
                     $map_lati = trim(strtr($map_lati, 'NSEW,�', ' - -. ')); // S5,6789 ==> -5.6789
Please login to merge, or discard this patch.