From 4f8b6058dfa887774bcbed87dfe0f70845fbd28b Mon Sep 17 00:00:00 2001 From: harry Date: Wed, 4 Jun 2025 07:31:46 +0530 Subject: [PATCH] document `through()` method in interfaces to fix IDE warnings --- src/Illuminate/Contracts/Pagination/CursorPaginator.php | 2 ++ src/Illuminate/Contracts/Pagination/Paginator.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/Illuminate/Contracts/Pagination/CursorPaginator.php b/src/Illuminate/Contracts/Pagination/CursorPaginator.php index 7d2bcf9c3fcb..96c6cd1bd56b 100644 --- a/src/Illuminate/Contracts/Pagination/CursorPaginator.php +++ b/src/Illuminate/Contracts/Pagination/CursorPaginator.php @@ -6,6 +6,8 @@ * @template TKey of array-key * * @template-covariant TValue + * + * @method $this through(callable(TValue): mixed $callback) */ interface CursorPaginator { diff --git a/src/Illuminate/Contracts/Pagination/Paginator.php b/src/Illuminate/Contracts/Pagination/Paginator.php index e7769d4ef21f..409ea1d60722 100644 --- a/src/Illuminate/Contracts/Pagination/Paginator.php +++ b/src/Illuminate/Contracts/Pagination/Paginator.php @@ -6,6 +6,8 @@ * @template TKey of array-key * * @template-covariant TValue + * + * @method $this through(callable(TValue): mixed $callback) */ interface Paginator {