From a76abf9d564345c4d3c2b38363bc8afde8c38788 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 22 Aug 2019 23:35:16 +0200 Subject: [PATCH] Improved description --- lib/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.php b/lib/functions.php index b912cc1..c9ead27 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -366,7 +366,7 @@ function put(string $path, string $contents): Promise * @param integer $polling Polling interval for lock in milliseconds * @param CancellationToken $token Cancellation token * - * @return \Amp\Promise Resolves with a \Amp\Sync\Lock that MUST eventually be released + * @return \Amp\Promise Resolves with an \Amp\Sync\Lock */ function lock(string $file, bool $shared, int $polling = 100, CancellationToken $token = null): Promise {