jerry 1 năm trước cách đây
mục cha
commit
2ffc98c493
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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;
         }