src/VK/Client/VKApiRequest.php
private function formatParams(array $params) {
        foreach ($params as $key => $value) {
            if (is_array($value)) {
                $params[$key] = implode(',', $value);
            } else if (is_bool($value)) {
                $params[$key] = $value ? 1 : 0;
            }
        }
        return $params;
    }
private function formatParams(array $params) {
        foreach ($params as $key => $value) {
            if (is_array($value)) {
                $params[$key] = implode(',', $value);
            } else if (is_bool($value)) {
                $params[$key] = $value ? 1 : 0;
            }
        }
        return $params;
    }
private function formatParams ( array $ params ) { foreach ( $ params as $ key => $ value ) { if ( is_array ( $ value ) ) { $ params [ $ key ] = implode ( ',' , $ value ) ; } else if ( is_bool ( $ value ) ) { $ params [ $ key ] = $ value ? 1 : 0 ; } } return $ params ; }
Formats given array of parameters for making the request.

@param array $params

@return array
Formats given array of parameters for making the request .