Passed
Pull Request — main (#4064)
by Jonathan
06:28
created
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/Http/Middleware/HandleExceptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
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
         });
Please login to merge, or discard this patch.
app/Contracts/SubmissionFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,6 +59,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
app/Contracts/HeaderFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,5 +59,5 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
app/Contracts/GedcomRecordFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
app/Contracts/LocationFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,5 +59,5 @@
 block discarded – undo
59 59
      *
60 60
      * @return Location
61 61
      */
62
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Location;
62
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Location;
63 63
 }
Please login to merge, or discard this patch.
app/Factories/LocationFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      *
90 90
      * @return Location
91 91
      */
92
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Location
92
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Location
93 93
     {
94 94
         return new Location($xref, $gedcom, $pending, $tree);
95 95
     }
Please login to merge, or discard this patch.