mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-01-24 14:04:07 +08:00
dont forget set the function static
This commit is contained in:
parent
c160370493
commit
ba35e2c193
@ -142,7 +142,7 @@ class utils {
|
||||
* @param array $array
|
||||
* @return object
|
||||
*/
|
||||
function getValue($key, $array) {
|
||||
public static function getValue($key, $array) {
|
||||
if (array_key_exists($key, $array)) {
|
||||
return $array[$key];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user