Open vinothbabu13 opened 8 years ago
Fix for the following error
FatalErrorException in Exception.php line 4: Class Cassandra\Response\Exception cannot extend from interface Cassandra\Exception
@pincher2012 - Sorry i have reverted that implements to extends as it is the class and i have done one more fix now for the following error,
FatalErrorException in Exception.php line 4:
Class Cassandra\Response\Exception cannot extend from interface Cassandra\Exception
File - src\Response\Error.php Line - 126
return new Exception($data['message'], $data['code']);
To
return new \Exception($data['message'], $data['code']);
Getting PHP Warning: Declaration of Cassandra\Request\Batch::queryParameters($consistency, array $options = Array) should be compatible with Cassandra\Request\Request::queryParameters($consistency, array $values = Array, array $options = Array) in /var/www/html/php-cassandra/src/Request/Batch.php on line 122 for PHP7