jerry 1 жил өмнө
parent
commit
2ffc98c493

+ 2 - 1
common/helpers/Tool.php

@@ -576,7 +576,8 @@ class Tool {
         return true;
     }
 
-    function checkArrayElementSubstringOfString(string $string, array $array) {
+    public static  function checkArrayElementSubstringOfString(string $string, array $array): bool
+    {
         if (empty($string) || empty($array)) {
             return false;
         }