diff --git a/src/Psalm/Internal/Type/SimpleAssertionReconciler.php b/src/Psalm/Internal/Type/SimpleAssertionReconciler.php index 8a2ff9d1f..13a6f9fc2 100644 --- a/src/Psalm/Internal/Type/SimpleAssertionReconciler.php +++ b/src/Psalm/Internal/Type/SimpleAssertionReconciler.php @@ -80,6 +80,7 @@ use function count; use function explode; use function get_class; use function min; +use function strlen; use function strpos; use function strtolower; diff --git a/src/Psalm/Type/Reconciler.php b/src/Psalm/Type/Reconciler.php index 62293693b..04d0d909a 100644 --- a/src/Psalm/Type/Reconciler.php +++ b/src/Psalm/Type/Reconciler.php @@ -69,6 +69,7 @@ use function preg_match; use function preg_quote; use function str_replace; use function str_split; +use function strlen; use function strpos; use function strtolower; use function substr;