@@ -76,11 +76,11 @@ |
||
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | |
| 79 | - public function setDissolved(string $date) |
|
| 80 | - { |
|
| 79 | + public function setDissolved(string $date) |
|
| 80 | + { |
|
| 81 | 81 | $this->data['dissolved'] = new DateTime($date, new DateTimeZone('Europe/Prague')); |
| 82 | 82 | return $this; |
| 83 | - } |
|
| 83 | + } |
|
| 84 | 84 | |
| 85 | 85 | |
| 86 | 86 | public function setFileNumber(string $fileNumber) |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | ->setActive(!isset($xml->DZ)); |
| 88 | 88 | |
| 89 | 89 | if (isset($xml->DZ)) { |
| 90 | - $dataProvider->setDissolved((string) $xml->DZ); |
|
| 90 | + $dataProvider->setDissolved((string) $xml->DZ); |
|
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | if (isset($xml->ROR)) { |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | $data['created'] = $this->created->format(\DateTime::ISO8601); |
| 54 | 54 | } |
| 55 | 55 | if ($this->dissolved instanceof \DateTime) { |
| 56 | - $data['dissolved'] = $this->dissolved->format(\DateTime::ISO8601); |
|
| 56 | + $data['dissolved'] = $this->dissolved->format(\DateTime::ISO8601); |
|
| 57 | 57 | } |
| 58 | 58 | return $data; |
| 59 | 59 | } |