Skip to content

Commit

Permalink
Revert default argument change
Browse files Browse the repository at this point in the history
  • Loading branch information
tractorcow committed Sep 17, 2018
1 parent 690f0cc commit ce8ba85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TagField.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ class TagField extends DropdownField
/**
* @param string $name
* @param string $title
* @param null|DataList $source
* @param null|DataList|array $source
* @param null|DataList $value
* @param string $titleField
*/
public function __construct($name, $title = '', $source = null, $value = null, $titleField = 'Title')
public function __construct($name, $title = '', $source = [], $value = null, $titleField = 'Title')
{
$this->setTitleField($titleField);
parent::__construct($name, $title, $source, $value);
Expand Down

0 comments on commit ce8ba85

Please # to comment.