ridvanaltun / guacamole-php-sdk

Manage Guacamole with an easy SDK.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

syntax error, unexpected ')'

lexcorp opened this issue · comments

PHP Parse error: syntax error, unexpected ')' in /var/www/html/guacamole-php-sdk/src/Operation.php on line 66

/**
 * Bind token
 *
 * @param   array  $options  Request options
 *
 * @return  array            New request options
 */
private function withAuthToken(array $options) {
	return array_merge(
		$options, [
			'query' => ['token' => $this->token],
		], <------- In this line
	);
}

PHP Parse error: syntax error, unexpected ')' in /var/www/html/guacamole-php-sdk/src/Operation.php on line 66

/**
 * Bind token
 *
 * @param   array  $options  Request options
 *
 * @return  array            New request options
 */
private function withAuthToken(array $options) {
	return array_merge(
		$options, [
			'query' => ['token' => $this->token],
		], <------- In this line
	);
}

I can't see any syntax error here, can you give me more information?