Skip to content

Commit 0fd4244

Browse files
more linting complaints
1 parent c906f20 commit 0fd4244

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/Commands/Workflow/WaitCommand.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,19 @@ public function waitForCommit(
166166
'target_commit' => $target_commit,
167167
]);
168168
if ($startTime->diff(new \DateTime())->s > $maxWaitInSeconds) {
169-
throw new TerminusException('Exceeded maximum wait time of {max} seconds.', ['max' => $maxWaitInSeconds]);
169+
throw new TerminusException(
170+
'Exceeded maximum wait time of {max} seconds.',
171+
['max' => $maxWaitInSeconds]
172+
);
170173
}
171174
}
172175

173176
while (!$wfl->isFinished()) {
174177
if ($startTime->diff(new \DateTime())->s > $maxWaitInSeconds) {
175-
throw new TerminusException('Exceeded maximum wait time of {max} seconds.', ['max' => $maxWaitInSeconds]);
178+
throw new TerminusException(
179+
'Exceeded maximum wait time of {max} seconds.',
180+
['max' => $maxWaitInSeconds]
181+
);
176182
}
177183
$this->log()->notice('Waiting for workflow {id} to complete.', ['id' => $wfl->id,]);
178184
sleep($this->getConfig()->get('refresh_workflow_delay', 30));

0 commit comments

Comments
 (0)