Commit 16158620 authored by Thomas BACCELLI's avatar Thomas BACCELLI
Browse files

Handle review

parent 1b1e654d
......@@ -228,7 +228,7 @@ final class OrderQueryBuilder implements DoctrineQueryBuilderInterface
}
/**
* return the subquery defining if a customer is new or not
* Returns the subquery defining if a customer is new or not
*/
private function getNewCustomerSubSelect(): string
{
......@@ -246,7 +246,7 @@ final class OrderQueryBuilder implements DoctrineQueryBuilderInterface
/**
* @param QueryBuilder $qb
*/
private function addNewCustomerField(QueryBuilder $qb)
private function addNewCustomerField(QueryBuilder $qb): void
{
$qb->addSelect('(' . $this->getNewCustomerSubSelect() . ') AS new');
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment