Skip to content

Commit

Permalink
Correct Column->getDefault() annotation
Browse files Browse the repository at this point in the history
The value can be mixed, not string|null.
4.0.x reflects this already using PHP types,
3.x now follows in its annotations.
  • Loading branch information
lolli42 committed Aug 9, 2023
1 parent 17d7baf commit 583c881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Schema/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Column extends AbstractAsset
/** @var bool */
protected $_notnull = true;

/** @var string|null */
/** @var mixed */
protected $_default;

/** @var bool */
Expand Down Expand Up @@ -278,7 +278,7 @@ public function getNotnull()
return $this->_notnull;
}

/** @return string|null */
/** @return mixed */
public function getDefault()
{
return $this->_default;
Expand Down

0 comments on commit 583c881

Please sign in to comment.