fix: Util::range에 yield type 지정

This commit is contained in:
Hide_D committed 2022-05-14 23:48:18 +09:00
1 parent 03f69a7c71
commit 220dbb7d8d
1 file changed
+1
+1
View File
@@ -791,6 +791,7 @@ class Util extends \utilphp\util
* @param int $from
* @param null|int $to
* @param null|int $step
* @return \Generator|int[]
* @throws \InvalidArgumentException
*/
public static function range(int $from, ?int $to=null, ?int $step=null):\Generator{