[UV] Add missing second argument to uv_run

Also update extension repository URL

Refs: 670a609efc/php_uv.c (L3607C64-L3607C96)
This commit is contained in:
Cees-Jan Kiewiet 2024-02-12 18:51:34 +01:00 committed by Gleb Sieemshchikov
parent 5f083ca077
commit 717e2d512b
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<?php
// Stubs for ext-uv: https://github.com/bwoebi/php-uv
// Stubs for ext-uv: https://github.com/amphp/php-uv
/**
* Decrement reference.
@ -55,10 +55,11 @@ function uv_ref($uv_handle) {}
* Run event loop.
*
* @param resource|null $uv_loop uv_loop resource.
* @param int $run_mode Run flags.
*
* @return void
*/
function uv_run($uv_loop = null) {}
function uv_run($uv_loop = null, $run_mode = UV::RUN_DEFAULT) {}
/**
* @param resource|null $uv_loop