From 53f6062f9779ad1fbcee1dd56aafbd45af5f8860 Mon Sep 17 00:00:00 2001 From: Julien Rosset Date: Tue, 19 Sep 2023 17:33:54 +0200 Subject: [PATCH] TInsensitiveCaseKey: fix method signature --- src/Collections/TInsensitiveCaseKey.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Collections/TInsensitiveCaseKey.php b/src/Collections/TInsensitiveCaseKey.php index 9e1f794..4590630 100644 --- a/src/Collections/TInsensitiveCaseKey.php +++ b/src/Collections/TInsensitiveCaseKey.php @@ -8,8 +8,10 @@ namespace jrosset\Collections; trait TInsensitiveCaseKey { /** * @inheritDoc + * + * @noinspection PhpMissingReturnTypeInspection */ - protected function _normalizeKey (int|string $key): int|string { + protected function _normalizeKey ($key) { return mb_strtolower($key); } } \ No newline at end of file