private function checkKey($name, &$value)
    {
        $this->checkIsString($name, $value);

        $value = trim($value);

        $this->checkIsNotEmpty($name, $value);
    }
private function checkKey($name, &$value)
    {
        $this->checkIsString($name, $value);

        $value = trim($value);

        $this->checkIsNotEmpty($name, $value);
    }
private function checkKey ( $ name , & $ value ) { $ this -> checkIsString ( $ name , $ value ) ; $ value = trim ( $ value ) ; $ this -> checkIsNotEmpty ( $ name , $ value ) ; }
Check key.

@param  string  $name
@param  string  $value

@throws \Arcanedev\NoCaptcha\Exceptions\ApiException
Check key .