jerry 1 rok temu
rodzic
commit
2ffc98c493
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      common/helpers/Tool.php

+ 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;
         }