@@ -17,7 +17,7 @@ |
||
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 |
@@ -18,11 +18,11 @@ discard block |
||
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 |
||
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 |
@@ -17,7 +17,7 @@ |
||
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 |
@@ -17,7 +17,7 @@ |
||
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 |
@@ -18,7 +18,7 @@ |
||
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 |
@@ -17,7 +17,7 @@ |
||
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 |
@@ -17,7 +17,7 @@ |
||
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 |
@@ -17,7 +17,7 @@ |
||
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 |
@@ -18,11 +18,11 @@ |
||
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 |