From bdedb51f91547117ff1069dffdc2686bba18b5f0 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 10 Oct 2020 20:36:38 +0200 Subject: [PATCH] refactor: Add missing annotations. Signed-off-by: Pol Dellaiera --- src/Contract/Collection.php | 1 + src/Contract/Operation/Containsable.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/Contract/Collection.php b/src/Contract/Collection.php index 7757e40fa..c1679f0af 100644 --- a/src/Contract/Collection.php +++ b/src/Contract/Collection.php @@ -150,6 +150,7 @@ * @template-extends Hasable * @template-extends Headable * @template-extends IfThenElseable + * @template-extends Implodeable * @template-extends Initable * @template-extends Initsable * @template-extends Intersectable diff --git a/src/Contract/Operation/Containsable.php b/src/Contract/Operation/Containsable.php index 55a71be14..eb66821f9 100644 --- a/src/Contract/Operation/Containsable.php +++ b/src/Contract/Operation/Containsable.php @@ -7,6 +7,8 @@ use loophp\collection\Contract\Collection; /** + * @psalm-template TKey + * @psalm-template TKey of array-key * @psalm-template T */ interface Containsable