Passed
Push — dbal ( 9e152c...887ebd )
by Greg
26:02
created
app/Contracts/EncodingFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * Detect an encoding from a GEDCOM header record.
31 31
      */
32
-    public function detect(string $header): EncodingInterface|null;
32
+    public function detect(string $header): EncodingInterface | null;
33 33
 
34 34
     /**
35 35
      * Create a named encoding.
Please login to merge, or discard this patch.
app/Contracts/HeaderFactoryInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * Create a header.
33 33
      */
34
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): Header|null;
34
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): Header | null;
35 35
 
36 36
     /**
37 37
      * Create a header from a row in the database.
@@ -53,5 +53,5 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @return Header
55 55
      */
56
-    public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Header;
56
+    public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): Header;
57 57
 }
Please login to merge, or discard this patch.
app/Contracts/IndividualFactoryInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * Create an individual.
33 33
      */
34
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): Individual|null;
34
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): Individual | null;
35 35
 
36 36
     /**
37 37
      * Create an individual from a row in the database.
@@ -53,5 +53,5 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @return Individual
55 55
      */
56
-    public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Individual;
56
+    public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): Individual;
57 57
 }
Please login to merge, or discard this patch.
app/Contracts/SubmitterFactoryInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * Create a submitter.
33 33
      */
34
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): Submitter|null;
34
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): Submitter | null;
35 35
 
36 36
     /**
37 37
      * Create a submitter from a row in the database.
@@ -53,5 +53,5 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @return Submitter
55 55
      */
56
-    public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Submitter;
56
+    public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): Submitter;
57 57
 }
Please login to merge, or discard this patch.
app/Contracts/RepositoryFactoryInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * Create a repository.
33 33
      */
34
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): Repository|null;
34
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): Repository | null;
35 35
 
36 36
     /**
37 37
      * Create a source from a row in the database.
@@ -53,5 +53,5 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @return Repository
55 55
      */
56
-    public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Repository;
56
+    public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): Repository;
57 57
 }
Please login to merge, or discard this patch.
app/Contracts/LocationFactoryInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * Create a Location.
33 33
      */
34
-    public function make(string $xref, Tree $tree, string|null $gedcom = null): Location|null;
34
+    public function make(string $xref, Tree $tree, string | null $gedcom = null): Location | null;
35 35
 
36 36
     /**
37 37
      * Create a Location from a row in the database.
@@ -53,5 +53,5 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @return Location
55 55
      */
56
-    public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Location;
56
+    public function new(string $xref, string $gedcom, string | null $pending, Tree $tree): Location;
57 57
 }
Please login to merge, or discard this patch.
app/Http/Middleware/CompressResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
         return $response;
101 101
     }
102 102
 
103
-    protected function compressionMethod(RequestInterface $request): string|null
103
+    protected function compressionMethod(RequestInterface $request): string | null
104 104
     {
105 105
         $accept_encoding = strtolower($request->getHeaderLine('accept-encoding'));
106 106
         $zlib_available  = extension_loaded('zlib');
Please login to merge, or discard this patch.
app/Statistics/Repository/FamilyDatesRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
      *
70 70
      * @return object{id:string,year:int,fact:string,type:string}|null
71 71
      */
72
-    private function eventQuery(string $fact, string $operation): object|null
72
+    private function eventQuery(string $fact, string $operation): object | null
73 73
     {
74 74
         return DB::table('dates')
75 75
             ->select(['d_gid as id', 'd_year as year', 'd_fact AS fact', 'd_type AS type'])
Please login to merge, or discard this patch.
app/Statistics/Repository/EventRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
      *
219 219
      * @return object{id:string,year:int,fact:string,type:string}|null
220 220
      */
221
-    private function eventQuery(string $direction): object|null
221
+    private function eventQuery(string $direction): object | null
222 222
     {
223 223
         return DB::table('dates')
224 224
             ->select(['d_gid as id', 'd_year as year', 'd_fact AS fact', 'd_type AS type'])
Please login to merge, or discard this patch.