Passed
Push — master ( 008e72...5c8957 )
by Tomasz
02:43
created
src/Beberlei/Nullable/DateFormatValueObject.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -19,15 +19,15 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * @throws Exception if value is invalid
21 21
      */
22
-    public function __construct(?DateTimeImmutable $value, string $format = DateTime::ATOM)
22
+    public function __construct(?DateTimeImmutable $value, string $format=DateTime::ATOM)
23 23
     {
24 24
         try {
25 25
             $this->guard($value);
26 26
         } catch (Throwable $e) {
27 27
             throw $this->throwException($value, $e);
28 28
         }
29
-        $this->value = $value;
30
-        $this->format = $format;
29
+        $this->value=$value;
30
+        $this->format=$format;
31 31
     }
32 32
 
33 33
     public function getValue(): ?string
@@ -50,9 +50,9 @@  discard block
 block discarded – undo
50 50
             return true;
51 51
         }
52 52
         /** @var DateTimeImmutable $dateTime */
53
-        $dateTime = $this->getDateTime();
53
+        $dateTime=$this->getDateTime();
54 54
         /** @var DateTimeImmutable $otherDateTime */
55
-        $otherDateTime = $other->getDateTime();
55
+        $otherDateTime=$other->getDateTime();
56 56
         return $dateTime->getTimestamp() === $otherDateTime->getTimestamp();
57 57
     }
58 58
 
Please login to merge, or discard this patch.
src/Beberlei/Nullable/TimestampValueObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         } catch (Throwable $e) {
24 24
             throw $this->throwException($value, $e);
25 25
         }
26
-        $this->value = $value;
26
+        $this->value=$value;
27 27
     }
28 28
 
29 29
     public function getDateTime(): ?DateTimeImmutable
Please login to merge, or discard this patch.