From 0de7af5babf83f6f88c5a7cd4205c310d4266ee5 Mon Sep 17 00:00:00 2001 From: Dmitry Fedyuk Date: Tue, 7 Feb 2023 00:01:17 +0000 Subject: [PATCH] https://github.com/mage2pro/core/issues/205 --- lib/main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/main.php b/lib/main.php index a223d4d..90c0570 100644 --- a/lib/main.php +++ b/lib/main.php @@ -22,10 +22,10 @@ function df_phone($n, $onE = true) {return df_try(function() use($n) {return $n /** * 2017-04-22 «+79629197300» => «962» * @param string[]|OA|QA|CA $n - * @param bool $throw [optional] + * @param Closure|bool|mixed $onE [optional] * @return string|null */ -function df_phone_area($n, $throw = true) {return dfa(df_phone_explode($n, $throw), 1);} +function df_phone_area($n, $onE = true) {return dfa(df_phone_explode($n, $onE), 1);} /** * 2017-04-22 «+79629197300» => 7