Revert Expr\Base patch
This commit is contained in:
parent
c5ef21864f
commit
4a0227e5f2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue