Closed ivanignatiev closed 5 years ago
Hi @ivanignatiev
Many thanks for your improvements, they look good! We are using an Apache 2 contributor license agreement (CLA) for ArangoDB and its companion projects, which for legal reasons we require to get signed once by each contributor. The CLA can be found here: https://www.arangodb.com/documents/cla.pdf In order to accept your changes may you just fill in the form, sign and send a scanned copy over to cla[at]arangodb[.]com or via fax to +49-221-2722999-88 Thanks very much!
@jsteemann Thank you ! I have signed the agreement and sent the scan by email
Thanks!
Hello,
The code from tutorial https://www.arangodb.com/tutorials/tutorial-php/ without collection creation will throw an error :
The issue cause in Handler::includeOptionsInParams. $options parameter of Document::save function by default is empty object [] but Handler::includeOptionsInParams only replaces parameters with existing $options keys. As $options is empty, all parameters are ignored and OPTION_CREATE = true is ignored as well.
Other way to solve this issue is to assign correct default value to $options parameter of functions.
Please note that for legal reasons we require you to sign the Contributor Agreement before we can accept your pull requests.