From c541a9d9c3f60a4c1f15aa618977d902b86a499c Mon Sep 17 00:00:00 2001 From: Phan An Date: Tue, 22 Dec 2020 08:48:23 +0100 Subject: [PATCH] fix: typo in match() deprecation message --- src/Functional/Matching.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Functional/Matching.php b/src/Functional/Matching.php index 5c12306e..8c66c59a 100644 --- a/src/Functional/Matching.php +++ b/src/Functional/Matching.php @@ -46,7 +46,7 @@ function matching(array $conditions) namespace Functional; function match(array $conditions) { - trigger_error('Functional\match() is will be unavailable with PHP 8. Use Functional\matching() instead', E_USER_DEPRECATED); + trigger_error('Functional\match() will be unavailable with PHP 8. Use Functional\matching() instead', E_USER_DEPRECATED); return matching($conditions); } ALIAS