Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions src/MultiSelect.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,6 @@ class MultiSelect extends InputWidget
*/
public $clientOptions = [];

/**
* Initializes the widget.
* @throws InvalidConfigException
*/
public function init()
{
if (empty($this->data)) {
throw new InvalidConfigException('"Multiselect::$data" attribute cannot be blank or an empty array.');
}
parent::init();
}

/**
* @inheritdoc
* @throws InvalidParamException
Expand Down