yiisoft/yii — pull request #1091 by suralc (2012-08-01 16:38:55+00:00)
Title: Revert CCookieCollection::add().

This would solve #1087 by reverting changes made in 1.1.11.

Also this will break BC.

A more BC friendly way would be to require setting the second parameter when giving an object as the first parameter.
But this would defeat the purpose of #120
**Please do not consider any of this without discussion.**

e.g.:

```php
add(new CHttpCookie(), false);
```