@@ -416,17 +416,17 @@ private function tokenMapping(array $dataJson, ?Token $token = null): Token
416
416
? new DateTime ($ dataJson ['rentStartDate ' ])
417
417
: null );
418
418
$ token ->setInitialMaintenanceReserve ($ dataJson ['initialMaintenanceReserve ' ] ?: null );
419
- $ token ->setInitialLaunchDate ($ dataJson ['initialLaunchDate ' ]);
420
- $ token ->setSeriesNumber ($ dataJson ['seriesNumber ' ]);
421
- $ token ->setConstructionYear ($ dataJson ['constructionYear ' ]);
422
- $ token ->setConstructionType ($ dataJson ['constructionType ' ]);
423
- $ token ->setRoofType ($ dataJson ['roofType ' ]);
424
- $ token ->setAssetParking ($ dataJson ['assetParking ' ]);
425
- $ token ->setFoundation ($ dataJson ['foundation ' ]);
426
- $ token ->setHeating ($ dataJson ['heating ' ]);
427
- $ token ->setCooling ($ dataJson ['cooling ' ]);
428
- $ token ->setTokenIdRules ($ dataJson ['tokenIdRules ' ]);
429
- $ token ->setRentCalculationType ($ dataJson ['rentCalculationType ' ]);
419
+ $ token ->setInitialLaunchDate ($ dataJson ['initialLaunchDate ' ] ?: null );
420
+ $ token ->setSeriesNumber ($ dataJson ['seriesNumber ' ] ?: null );
421
+ $ token ->setConstructionYear ($ dataJson ['constructionYear ' ] ?: null );
422
+ $ token ->setConstructionType ($ dataJson ['constructionType ' ] ?: null );
423
+ $ token ->setRoofType ($ dataJson ['roofType ' ] ?: null );
424
+ $ token ->setAssetParking ($ dataJson ['assetParking ' ] ?: null );
425
+ $ token ->setFoundation ($ dataJson ['foundation ' ] ?: null );
426
+ $ token ->setHeating ($ dataJson ['heating ' ] ?: null );
427
+ $ token ->setCooling ($ dataJson ['cooling ' ] ?: null );
428
+ $ token ->setTokenIdRules ($ dataJson ['tokenIdRules ' ] ?: null );
429
+ $ token ->setRentCalculationType ($ dataJson ['rentCalculationType ' ] ?: null );
430
430
431
431
$ token ->setLastUpdate (new DateTime ());
432
432
0 commit comments