Browse Source

fixed: 修饰符.

gwang 4 năm trước cách đây
mục cha
commit
0d7af3e239
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Gameserver/Amfphp/process/FightProc/PVPProc.php

+ 1 - 1
Gameserver/Amfphp/process/FightProc/PVPProc.php

@@ -605,7 +605,7 @@ class PVPProc {
      * @param type $num
      * @return type
      */
-    function array_random_assoc($arr, $num = 1) {
+    private static function array_random_assoc($arr, $num = 1) {
         $keys = array_keys($arr);
         shuffle($keys);