yiisoft/yii2 — pull request #3887 by creocoder (2014-06-15 21:34:54+00:00)
Title: BaseHtml::checkbox() and BaseHtml::radio() fixes

Code:

```php
use yii\helpers\Html;
echo Html::checkbox('test', false, ['labelOptions' => ['class' => 'test']]);
echo Html::radio('test', false, ['labelOptions' => ['class' => 'test']]);
```

lead to undefined index errors.