Skip to content

Commit

Permalink
Merge pull request #7965 from andreaslindahl/DBMultiEnum
Browse files Browse the repository at this point in the history
Fix for "too few parameters" error when using DBMultiEnum
  • Loading branch information
dhensby authored Mar 28, 2018
2 parents 0adbc6b + dd44dea commit 54b6c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/FieldType/DBMultiEnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
class DBMultiEnum extends DBEnum
{
public function __construct($name, $enum = null, $default = null)
public function __construct($name = null, $enum = null, $default = null)
{
// MultiEnum needs to take care of its own defaults
parent::__construct($name, $enum, null);
Expand Down

0 comments on commit 54b6c6f

Please sign in to comment.