Passed
Push — develop ( 2af5a4...c3260d )
by Greg
11:35
created
app/Factories/NoteFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
  */
35 35
 class NoteFactory extends AbstractGedcomRecordFactory implements NoteFactoryInterface
36 36
 {
37
-    private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Note::RECORD_TYPE .'/';
37
+    private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Note::RECORD_TYPE . '/';
38 38
 
39 39
     /**
40 40
      * Create a note.
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      *
90 90
      * @return Note
91 91
      */
92
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Note
92
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Note
93 93
     {
94 94
         return new Note($xref, $gedcom, $pending, $tree);
95 95
     }
Please login to merge, or discard this patch.
app/Factories/FamilyFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
  */
37 37
 class FamilyFactory extends AbstractGedcomRecordFactory implements FamilyFactoryInterface
38 38
 {
39
-    private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Family::RECORD_TYPE .'/';
39
+    private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Family::RECORD_TYPE . '/';
40 40
 
41 41
     /**
42 42
      * Create a family.
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      *
100 100
      * @return Family
101 101
      */
102
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Family
102
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Family
103 103
     {
104 104
         return new Family($xref, $gedcom, $pending, $tree);
105 105
     }
Please login to merge, or discard this patch.
app/Factories/RepositoryFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
  */
35 35
 class RepositoryFactory extends AbstractGedcomRecordFactory implements RepositoryFactoryInterface
36 36
 {
37
-    private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Repository::RECORD_TYPE .'/';
37
+    private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Repository::RECORD_TYPE . '/';
38 38
 
39 39
     /**
40 40
      * Create a repository.
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      *
90 90
      * @return Repository
91 91
      */
92
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Repository
92
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Repository
93 93
     {
94 94
         return new Repository($xref, $gedcom, $pending, $tree);
95 95
     }
Please login to merge, or discard this patch.
app/Factories/SourceFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
  */
35 35
 class SourceFactory extends AbstractGedcomRecordFactory implements SourceFactoryInterface
36 36
 {
37
-    private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Source::RECORD_TYPE .'/';
37
+    private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Source::RECORD_TYPE . '/';
38 38
 
39 39
 
40 40
     /**
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      *
91 91
      * @return Source
92 92
      */
93
-    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree): Source
93
+    public function new(string $xref, string $gedcom, ?string $pending, Tree $tree) : Source
94 94
     {
95 95
         return new Source($xref, $gedcom, $pending, $tree);
96 96
     }
Please login to merge, or discard this patch.