I think that there is an error in this line. What do you mean by the $treatEmptyAsFalse parameter? The function empty will not pass any empty value. Not 0, not empty string, not false, not null etc... If it comes to that, I would rewrite this line like this: if (!is_null($value)) {. But now it definitely works wrong!
https://github.com/2amigos/yii2-grid-view-library/blob/9463fda4398715413c59dec9f7c04754b9fdb152/src/columns/BooleanColumn.php#L54
I think that there is an error in this line. What do you mean by the
$treatEmptyAsFalse
parameter? The functionempty
will not pass any empty value. Not0
, not empty string, notfalse
, notnull
etc... If it comes to that, I would rewrite this line like this:if (!is_null($value)) {
. But now it definitely works wrong!