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)
123
123
} else {
124
124
$ this ->Interval = ReadableDuration::fromDuration ((string )$ this ->IntervalDuration );
125
125
}
126
- if (null === $ this ->TimeoutDuration ) {
126
+ if (! isset ( $ this ->TimeoutDuration ) ) {
127
127
$ this ->TimeoutDuration = Time::ParseDuration ((string )$ this ->Timeout );
128
128
} else {
129
129
$ this ->Timeout = ReadableDuration::fromDuration ((string )$ this ->TimeoutDuration );
130
130
}
131
- if (null === $ this ->DeregisterCriticalServiceAfterDuration ) {
131
+ if (! isset ( $ this ->DeregisterCriticalServiceAfterDuration ) ) {
132
132
$ this ->DeregisterCriticalServiceAfterDuration = Time::ParseDuration (
133
133
(string )$ this ->DeregisterCriticalServiceAfter
134
134
);
You can’t perform that action at this time.
0 commit comments