public function oauth($path, array $parameters = [])
{
$response = [];
$this->resetLastResponse();
$this->response->setApiPath($path);
$url = sprintf('%s/%s', self::API_HOST, $path);
$result = $this->oAuthRequest($url, 'POST', $parameters);
if ($this->getLastHttpCode() != 200) {
throw new TwitterOAuthException($result);
}
parse_str($result, $response);
$this->response->setBody($response);
return $response;
Parse error: syntax error, unexpected '[' in /home/../twitteroauth-master/src/TwitterOAuth.php on line 155
155 строка это public function oauth($path, array $parameters = [])
и ошибка тут $response = [];