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

Update functions.php

This commit is contained in:
Daniil Gentili 2019-07-19 14:03:58 +02:00 committed by GitHub
parent badfdeb8df
commit cee88a5e3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ namespace Amp
*
* @return Delayed
*/
function sleep(int $milliseconds): Delayed
function delay(int $milliseconds): Promise
{
return new Delayed($milliseconds);
}