Passed
Push — master ( 5c8957...b8cf25 )
by Tomasz
01:43
created
src/Beberlei/Nullable/BooleanValueObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     public function __construct(?bool $value)
18 18
     {
19 19
         $this->guard($value);
20
-        $this->value = $value;
20
+        $this->value=$value;
21 21
     }
22 22
 
23 23
     public function equals(BooleanValueObjectInterface $other): bool
Please login to merge, or discard this patch.
src/Beberlei/Nullable/DateFormatValueObject.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@  discard block
 block discarded – undo
18 18
     /**
19 19
      * @throws Exception if value is invalid
20 20
      */
21
-    public function __construct(?DateTimeImmutable $value, string $format = DateTime::ATOM)
21
+    public function __construct(?DateTimeImmutable $value, string $format=DateTime::ATOM)
22 22
     {
23 23
         $this->guard($value, $format);
24
-        $this->value = $value;
25
-        $this->format = $format;
24
+        $this->value=$value;
25
+        $this->format=$format;
26 26
     }
27 27
 
28 28
     public function equals(DateFormatValueObjectInterface $other): bool
@@ -37,9 +37,9 @@  discard block
 block discarded – undo
37 37
             return true;
38 38
         }
39 39
         /** @var DateTimeImmutable $dateTime */
40
-        $dateTime = $this->getDateTime();
40
+        $dateTime=$this->getDateTime();
41 41
         /** @var DateTimeImmutable $otherDateTime */
42
-        $otherDateTime = $other->getDateTime();
42
+        $otherDateTime=$other->getDateTime();
43 43
         return $dateTime->getTimestamp() === $otherDateTime->getTimestamp();
44 44
     }
45 45
 
Please login to merge, or discard this patch.
src/Beberlei/Nullable/ArrayValueObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     public function __construct(?array $value)
18 18
     {
19 19
         $this->guard($value);
20
-        $this->value = $value;
20
+        $this->value=$value;
21 21
     }
22 22
 
23 23
     public function equals(ArrayValueObjectInterface $other): bool
Please login to merge, or discard this patch.
src/Beberlei/Nullable/StringValueObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     public function __construct(?string $value)
18 18
     {
19 19
         $this->guard($value);
20
-        $this->value = $value;
20
+        $this->value=$value;
21 21
     }
22 22
 
23 23
     public function equals(StringValueObjectInterface $other): bool
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
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     public function __construct(?DateTimeImmutable $value)
19 19
     {
20 20
         $this->guard($value);
21
-        $this->value = $value;
21
+        $this->value=$value;
22 22
     }
23 23
 
24 24
     public function getDateTime(): ?DateTimeImmutable
Please login to merge, or discard this patch.
src/Beberlei/Nullable/IntegerValueObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     public function __construct(?int $value)
18 18
     {
19 19
         $this->guard($value);
20
-        $this->value = $value;
20
+        $this->value=$value;
21 21
     }
22 22
 
23 23
     public function equals(IntegerValueObjectInterface $other): bool
Please login to merge, or discard this patch.
src/Beberlei/Nullable/FloatValueObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     public function __construct(?float $value)
18 18
     {
19 19
         $this->guard($value);
20
-        $this->value = $value;
20
+        $this->value=$value;
21 21
     }
22 22
 
23 23
     public function equals(FloatValueObjectInterface $other): bool
Please login to merge, or discard this patch.
src/Beberlei/Standard/BooleanValueObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     public function __construct(bool $value)
18 18
     {
19 19
         $this->guard($value);
20
-        $this->value = $value;
20
+        $this->value=$value;
21 21
     }
22 22
 
23 23
     public function equals(BooleanValueObjectInterface $other): bool
Please login to merge, or discard this patch.
src/Beberlei/Standard/DateFormatValueObject.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@
 block discarded – undo
18 18
     /**
19 19
      * @throws Exception if value is invalid
20 20
      */
21
-    public function __construct(DateTimeImmutable $value, string $format = DateTime::ATOM)
21
+    public function __construct(DateTimeImmutable $value, string $format=DateTime::ATOM)
22 22
     {
23 23
         $this->guard($value, $format);
24
-        $this->value = $value;
25
-        $this->format = $format;
24
+        $this->value=$value;
25
+        $this->format=$format;
26 26
     }
27 27
 
28 28
     public function getValue(): string
Please login to merge, or discard this patch.