Completed
Pull Request — master (#182)
by
unknown
13:54 queued 11:41
created
src/Mapper/Schema/DonorSchema.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Mapper\Schema;
24 24
 
@@ -98,11 +98,11 @@  discard block
 block discarded – undo
98 98
 
99 99
     public function fromArray(array $doc): Donor
100 100
     {
101
-        if (! isset($doc['created'])) {
102
-            $doc['created']=date("Y-m-d H:i:s");
101
+        if (!isset($doc['created'])) {
102
+            $doc['created'] = date("Y-m-d H:i:s");
103 103
         }
104
-        if (! isset($doc['updated'])) {
105
-            $doc['updated']=date("Y-m-d H:i:s");
104
+        if (!isset($doc['updated'])) {
105
+            $doc['updated'] = date("Y-m-d H:i:s");
106 106
         }
107 107
         return new Donor(
108 108
             $doc['mandate_key'],
Please login to merge, or discard this patch.