Skip to content

Commit

Permalink
Fix phpcs error
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Jan 22, 2020
1 parent dbd94c9 commit 00b4f89
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/Doctrine/DBAL/Query/QueryParts.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ public function __clone()
$this->where = clone $this->where;
}

if ($this->having !== null) {
$this->having = clone $this->having;
if ($this->having === null) {
return;
}

$this->having = clone $this->having;
}
}

0 comments on commit 00b4f89

Please sign in to comment.