Your fix is coming soon aaron <3

This commit is contained in:
Daniil Gentili 2017-08-15 23:44:33 +02:00
parent b00bf4f1f4
commit c2add62c4c

View File

@ -157,8 +157,8 @@ class Lua
array_walk_recursive($data, function (&$value, $key) {
if (is_object($value)) {
$newval = [];
if (method_exists($value, 'click')) {
$newval['click'] = [$value, 'click'];
foreach (get_class_methods($value) as $name) {
$newval[$name] = [$value, $name];
}
foreach ($value as $key => $name) {
$newval[$key] = $name;