Skip to content

Commit

Permalink
fix: typo in match() deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
phanan committed Dec 22, 2020
1 parent 5b78132 commit c541a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Functional/Matching.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c541a9d

Please sign in to comment.