File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -123,12 +123,12 @@ public function __construct(?array $data = null)
123123 } else {
124124 $ this ->Interval = ReadableDuration::fromDuration ((string )$ this ->IntervalDuration );
125125 }
126- if (null === $ this ->TimeoutDuration ) {
126+ if (! isset ( $ this ->TimeoutDuration ) ) {
127127 $ this ->TimeoutDuration = Time::ParseDuration ((string )$ this ->Timeout );
128128 } else {
129129 $ this ->Timeout = ReadableDuration::fromDuration ((string )$ this ->TimeoutDuration );
130130 }
131- if (null === $ this ->DeregisterCriticalServiceAfterDuration ) {
131+ if (! isset ( $ this ->DeregisterCriticalServiceAfterDuration ) ) {
132132 $ this ->DeregisterCriticalServiceAfterDuration = Time::ParseDuration (
133133 (string )$ this ->DeregisterCriticalServiceAfter
134134 );
You can’t perform that action at this time.
0 commit comments