@@ -1200,7 +1200,7 @@ private function populateResultJob(array $json): Job
12001200 'Arn ' => isset ($ json ['arn ' ]) ? (string ) $ json ['arn ' ] : null ,
12011201 'BillingTagsSource ' => isset ($ json ['billingTagsSource ' ]) ? (string ) $ json ['billingTagsSource ' ] : null ,
12021202 'ClientRequestToken ' => isset ($ json ['clientRequestToken ' ]) ? (string ) $ json ['clientRequestToken ' ] : null ,
1203- 'CreatedAt ' => isset ($ json ['createdAt ' ]) ? \DateTimeImmutable::createFromFormat ('U.u ' , sprintf ('%.6F ' , $ json ['createdAt ' ])) : null ,
1203+ 'CreatedAt ' => isset ($ json ['createdAt ' ]) && ( $ d = \DateTimeImmutable::createFromFormat ('U.u ' , sprintf ('%.6F ' , $ json ['createdAt ' ]))) ? $ d : null ,
12041204 'CurrentPhase ' => isset ($ json ['currentPhase ' ]) ? (string ) $ json ['currentPhase ' ] : null ,
12051205 'ErrorCode ' => isset ($ json ['errorCode ' ]) ? (int ) $ json ['errorCode ' ] : null ,
12061206 'ErrorMessage ' => isset ($ json ['errorMessage ' ]) ? (string ) $ json ['errorMessage ' ] : null ,
@@ -1715,7 +1715,7 @@ private function populateResultQueueTransition(array $json): QueueTransition
17151715 return new QueueTransition ([
17161716 'DestinationQueue ' => isset ($ json ['destinationQueue ' ]) ? (string ) $ json ['destinationQueue ' ] : null ,
17171717 'SourceQueue ' => isset ($ json ['sourceQueue ' ]) ? (string ) $ json ['sourceQueue ' ] : null ,
1718- 'Timestamp ' => isset ($ json ['timestamp ' ]) ? \DateTimeImmutable::createFromFormat ('U.u ' , sprintf ('%.6F ' , $ json ['timestamp ' ])) : null ,
1718+ 'Timestamp ' => isset ($ json ['timestamp ' ]) && ( $ d = \DateTimeImmutable::createFromFormat ('U.u ' , sprintf ('%.6F ' , $ json ['timestamp ' ]))) ? $ d : null ,
17191719 ]);
17201720 }
17211721
@@ -1844,9 +1844,9 @@ private function populateResultTimedMetadataInsertion(array $json): TimedMetadat
18441844 private function populateResultTiming (array $ json ): Timing
18451845 {
18461846 return new Timing ([
1847- 'FinishTime ' => isset ($ json ['finishTime ' ]) ? \DateTimeImmutable::createFromFormat ('U.u ' , sprintf ('%.6F ' , $ json ['finishTime ' ])) : null ,
1848- 'StartTime ' => isset ($ json ['startTime ' ]) ? \DateTimeImmutable::createFromFormat ('U.u ' , sprintf ('%.6F ' , $ json ['startTime ' ])) : null ,
1849- 'SubmitTime ' => isset ($ json ['submitTime ' ]) ? \DateTimeImmutable::createFromFormat ('U.u ' , sprintf ('%.6F ' , $ json ['submitTime ' ])) : null ,
1847+ 'FinishTime ' => isset ($ json ['finishTime ' ]) && ( $ d = \DateTimeImmutable::createFromFormat ('U.u ' , sprintf ('%.6F ' , $ json ['finishTime ' ]))) ? $ d : null ,
1848+ 'StartTime ' => isset ($ json ['startTime ' ]) && ( $ d = \DateTimeImmutable::createFromFormat ('U.u ' , sprintf ('%.6F ' , $ json ['startTime ' ]))) ? $ d : null ,
1849+ 'SubmitTime ' => isset ($ json ['submitTime ' ]) && ( $ d = \DateTimeImmutable::createFromFormat ('U.u ' , sprintf ('%.6F ' , $ json ['submitTime ' ]))) ? $ d : null ,
18501850 ]);
18511851 }
18521852
0 commit comments