protected function processUpdateLists($result)
    {
        if ($core = array_get($result, 'core')) {
            $result['core']['updates'] = array_reverse(array_get($core, 'updates', []), true);
        }

        foreach (array_get($result, 'plugins', []) as $code => $plugin) {
            $result['plugins'][$code]['updates'] = array_reverse(array_get($plugin, 'updates', []), true);
        }

        return $result;
    }
protected function processUpdateLists($result)
    {
        if ($core = array_get($result, 'core')) {
            $result['core']['updates'] = array_reverse(array_get($core, 'updates', []), true);
        }

        foreach (array_get($result, 'plugins', []) as $code => $plugin) {
            $result['plugins'][$code]['updates'] = array_reverse(array_get($plugin, 'updates', []), true);
        }

        return $result;
    }
protected function processUpdateLists ( $ result ) { if ( $ core = array_get ( $ result , 'core' ) ) { $ result [ 'core' ] [ 'updates' ] = array_reverse ( array_get ( $ core , 'updates' , [ ] ) , true ) ; } foreach ( array_get ( $ result , 'plugins' , [ ] ) as $ code => $ plugin ) { $ result [ 'plugins' ] [ $ code ] [ 'updates' ] = array_reverse ( array_get ( $ plugin , 'updates' , [ ] ) , true ) ; } return $ result ; }
Reverses the update lists for the core and all plugins.
@param array  $result
@return array
Reverses the update lists for the core and all plugins .