Skip to content

Commit

Permalink
Allow chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
violuke authored May 22, 2017
1 parent afa1b50 commit ae2b575
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/deploydog/Slavedriver/Job.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ public function setTimeout($timeout) {
public function setWarnIfNotFinishedAfterSeconds($warnIfNotFinishedAfterSeconds)
{
$this->warnIfNotFinishedAfterSeconds = $warnIfNotFinishedAfterSeconds;
return $this;
}

/**
Expand Down Expand Up @@ -232,4 +233,4 @@ public function getTimeout() {
public function getWarnIfNotFinishedAfterSeconds() {
return $this->warnIfNotFinishedAfterSeconds;
}
}
}

0 comments on commit ae2b575

Please sign in to comment.