Skip to content

Commit 8b7371c

Browse files
committed
Improve DocString
1 parent 1ed6729 commit 8b7371c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AsyncTask.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public function getTimeLimit(): int|null
253253
/**
254254
* Sets the maximum real time this task is allowed to run. Chainable.
255255
*
256-
* When the task reaches the time limit, the relevant handler will be called.
256+
* When the task reaches the time limit, the timeout handler (if exists) will be called.
257257
* @param int $seconds The time limit in seconds.
258258
* @return AsyncTask $this for chaining.
259259
*/
@@ -270,7 +270,7 @@ public function withTimeLimit(int $seconds): static
270270
}
271271

272272
/**
273-
* Sets this task to run forever with no time limit. Chainable.
273+
* Sets this task to run with no time limit (PHP INI `max_execution_time` may apply). Chainable.
274274
* @return AsyncTask $this for chaining.
275275
*/
276276
public function withoutTimeLimit(): static

0 commit comments

Comments
 (0)