linslin/Yii2-Curl

Merging options and default options

witzawitz opened this issue · 5 comments

The order of merging this two arrays should be changed.
https://github.com/linslin/Yii2-Curl/blob/master/Curl.php#L246

return $this->_options + $this->_defaultOptions;

I've created pull request.
#12

Though, there is trick using '+' when concating arrays. Maybe it will more correctly to use one array for storing options and directly overwrite its values.

Already fixed: #7

Please don't push into master.

OK. Sorry for the duplicate.
When the release will be ready?

No problem. Just keep reporting issues. It's released since yesterday. HF 👍