1
0
mirror of https://github.com/danog/file.git synced 2024-11-26 11:54:54 +01:00

Improved description

This commit is contained in:
Daniil Gentili 2019-08-22 23:35:16 +02:00
parent 6ecb3934f7
commit a76abf9d56

View File

@ -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
{