Apply fixes from StyleCI
This commit is contained in:
parent
c552b6d66b
commit
073adc9efa
@ -159,7 +159,7 @@ class Lua
|
|||||||
public static function convert_objects(&$data)
|
public static function convert_objects(&$data)
|
||||||
{
|
{
|
||||||
array_walk_recursive($data, function (&$value, $key) {
|
array_walk_recursive($data, function (&$value, $key) {
|
||||||
if (is_object($value) && !( $value instanceof \phpseclib\Math\BigInteger)) {
|
if (is_object($value) && !($value instanceof \phpseclib\Math\BigInteger)) {
|
||||||
$newval = [];
|
$newval = [];
|
||||||
foreach (get_class_methods($value) as $name) {
|
foreach (get_class_methods($value) as $name) {
|
||||||
$newval[$name] = [$value, $name];
|
$newval[$name] = [$value, $name];
|
||||||
|
Loading…
Reference in New Issue
Block a user