From ce0fa38387383dab9f0ee1a5a401b26fd1185f43 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Fri, 8 Nov 2024 02:10:44 +0100 Subject: [PATCH] Correct parameter type of Collection::intersectByKeys() --- src/Illuminate/Collections/Collection.php | 2 +- src/Illuminate/Collections/Enumerable.php | 2 +- src/Illuminate/Collections/LazyCollection.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Illuminate/Collections/Collection.php b/src/Illuminate/Collections/Collection.php index 8c9e2a06e43e..20b71d4b4f1c 100644 --- a/src/Illuminate/Collections/Collection.php +++ b/src/Illuminate/Collections/Collection.php @@ -676,7 +676,7 @@ public function intersectAssocUsing($items, callable $callback) /** * Intersect the collection with the given items by key. * - * @param \Illuminate\Contracts\Support\Arrayable|iterable $items + * @param \Illuminate\Contracts\Support\Arrayable|iterable $items * @return static */ public function intersectByKeys($items) diff --git a/src/Illuminate/Collections/Enumerable.php b/src/Illuminate/Collections/Enumerable.php index d279727867f6..2a70e91af7c0 100644 --- a/src/Illuminate/Collections/Enumerable.php +++ b/src/Illuminate/Collections/Enumerable.php @@ -598,7 +598,7 @@ public function intersectAssocUsing($items, callable $callback); /** * Intersect the collection with the given items by key. * - * @param \Illuminate\Contracts\Support\Arrayable|iterable $items + * @param \Illuminate\Contracts\Support\Arrayable|iterable $items * @return static */ public function intersectByKeys($items); diff --git a/src/Illuminate/Collections/LazyCollection.php b/src/Illuminate/Collections/LazyCollection.php index dc636f5ec17e..85da2de4bf65 100644 --- a/src/Illuminate/Collections/LazyCollection.php +++ b/src/Illuminate/Collections/LazyCollection.php @@ -680,7 +680,7 @@ public function intersectAssocUsing($items, callable $callback) /** * Intersect the collection with the given items by key. * - * @param \Illuminate\Contracts\Support\Arrayable|iterable $items + * @param \Illuminate\Contracts\Support\Arrayable|iterable $items * @return static */ public function intersectByKeys($items)