src/reCAPTCHA.php
public function getScript()
    {
        $data = array();
        if (!is_null($this->language))
            $data = array('hl' => $this->language);

        return '<script src="https://www.google.com/recaptcha/api.js?'.http_build_query($data).'"></script>';
    }
public function getScript()
    {
        $data = array();
        if (!is_null($this->language))
            $data = array('hl' => $this->language);

        return '<script src="https://www.google.com/recaptcha/api.js?'.http_build_query($data).'"></script>';
    }
public function getScript ( ) { $ data = array ( ) ; if ( ! is_null ( $ this -> language ) ) $ data = array ( 'hl' => $ this -> language ) ; return '<script src="https://www.google.com/recaptcha/api.js?' . http_build_query ( $ data ) . '"></script>' ; }
Generate the JS code of the captcha

@return string
Generate the JS code of the captcha