Skip to content

Commit b2b42be

Browse files
authored
Update lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php
1 parent 05e6188 commit b2b42be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ public function getPipeline(/* bool $applyFilters = true */): array
291291
$pipeline = [];
292292
foreach ($this->stages as $stage) {
293293
$stage = $stage->getExpression();
294-
if (! $stage) {
294+
if ($stage === null) {
295295
continue;
296296
}
297297

0 commit comments

Comments
 (0)