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:
parent
badfdeb8df
commit
cee88a5e3a
@ -98,7 +98,7 @@ namespace Amp
|
||||
*
|
||||
* @return Delayed
|
||||
*/
|
||||
function sleep(int $milliseconds): Delayed
|
||||
function delay(int $milliseconds): Promise
|
||||
{
|
||||
return new Delayed($milliseconds);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user