Revert Expr\Base patch
This commit is contained in:
parent
c5ef21864f
commit
4a0227e5f2
@ -57,7 +57,7 @@ abstract class Base
|
||||
|
||||
public function add($arg)
|
||||
{
|
||||
if ( $arg !== null ) {
|
||||
if ( $arg !== null || ($arg instanceof self && $arg->count() > 0) ) {
|
||||
// If we decide to keep Expr\Base instances, we can use this check
|
||||
if ( ! is_string($arg)) {
|
||||
$class = get_class($arg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user