From f5379df6df65363d645506f373888372135ac0c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=9F=8E=E9=93=AD?= Date: Mon, 11 Dec 2023 11:14:01 +0800 Subject: [PATCH] Fixed bug that AOP not working when using variadic parameters. (#6372) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 李铭昕 <715557344@qq.com> --- src/PaginatorInterface.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PaginatorInterface.php b/src/PaginatorInterface.php index bdba607..cb16029 100644 --- a/src/PaginatorInterface.php +++ b/src/PaginatorInterface.php @@ -22,14 +22,14 @@ public function url(int $page): string; * Add a set of query string values to the paginator. * * @param array|string $key - * @return $this + * @return static */ public function appends($key, ?string $value = null); /** * Get / set the URL fragment to be appended to URLs. * - * @return $this|string + * @return static|string */ public function fragment(?string $fragment = null);