From 1371b846874b43d6e5dd1e085f7ac855507a3c7f Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sat, 14 May 2022 23:48:18 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Util::range=EC=97=90=20yield=20type=20?= =?UTF-8?q?=EC=A7=80=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sammo/Util.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sammo/Util.php b/src/sammo/Util.php index 0624cd4f..7fb18f82 100644 --- a/src/sammo/Util.php +++ b/src/sammo/Util.php @@ -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{