Merge pull request #4999 from totten/master-autosave
[civicrm-core.git] / Civi / CiUtil / Arrays.php
index 359ad4c1139326bddae96c599e1b551c667f7e25..2c28c1383c74d5cb893e166037880940e7106efe 100644 (file)
@@ -2,11 +2,12 @@
 namespace Civi\CiUtil;
 
 class Arrays {
-  static function collect($arr, $col) {
+  public static function collect($arr, $col) {
     $r = array();
     foreach ($arr as $k => $item) {
       $r[$k] = $item[$col];
     }
     return $r;
   }
-}
\ No newline at end of file
+
+}