@@ -23,7 +23,7 @@ |
||
23 | 23 | } catch (Throwable $e) { |
24 | 24 | throw $this->throwException($value); |
25 | 25 | } |
26 | - $this->value = $value; |
|
26 | + $this->value=$value; |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | public function getDateTime(): DateTimeImmutable |
@@ -19,15 +19,15 @@ |
||
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); |
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 |
@@ -22,7 +22,7 @@ |
||
22 | 22 | } catch (Throwable $e) { |
23 | 23 | throw $this->throwException($value); |
24 | 24 | } |
25 | - $this->value = $value; |
|
25 | + $this->value=$value; |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | public function equals(BooleanValueObjectInterface $other): bool |
@@ -22,7 +22,7 @@ |
||
22 | 22 | } catch (Throwable $e) { |
23 | 23 | throw $this->throwException($value); |
24 | 24 | } |
25 | - $this->value = $value; |
|
25 | + $this->value=$value; |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | public function equals(IntegerValueObjectInterface $other): bool |
@@ -22,7 +22,7 @@ |
||
22 | 22 | } catch (Throwable $e) { |
23 | 23 | throw $this->throwException($value); |
24 | 24 | } |
25 | - $this->value = $value; |
|
25 | + $this->value=$value; |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | public function equals(StringValueObjectInterface $other): bool |
@@ -22,7 +22,7 @@ |
||
22 | 22 | } catch (Throwable $e) { |
23 | 23 | throw $this->throwException($value); |
24 | 24 | } |
25 | - $this->value = $value; |
|
25 | + $this->value=$value; |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | public function equals(FloatValueObjectInterface $other): bool |
@@ -22,7 +22,7 @@ |
||
22 | 22 | } catch (Throwable $e) { |
23 | 23 | throw $this->throwException($value); |
24 | 24 | } |
25 | - $this->value = $value; |
|
25 | + $this->value=$value; |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | public function equals(ArrayValueObjectInterface $other): bool |