parent
91a5091612
commit
9ad91ddc1c
@ -888,7 +888,7 @@ class SqlWalker implements TreeWalker
|
|||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
private function generateRangeVariableDeclarationSQL($rangeVariableDeclaration, $buildNestedJoins)
|
private function generateRangeVariableDeclarationSQL($rangeVariableDeclaration, bool $buildNestedJoins) : string
|
||||||
{
|
{
|
||||||
$class = $this->em->getClassMetadata($rangeVariableDeclaration->abstractSchemaName);
|
$class = $this->em->getClassMetadata($rangeVariableDeclaration->abstractSchemaName);
|
||||||
$dqlAlias = $rangeVariableDeclaration->aliasIdentificationVariable;
|
$dqlAlias = $rangeVariableDeclaration->aliasIdentificationVariable;
|
||||||
|
@ -12,7 +12,7 @@ class GH6464Test extends OrmFunctionalTestCase
|
|||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
protected function setUp()
|
protected function setUp() : void
|
||||||
{
|
{
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ class GH6464Test extends OrmFunctionalTestCase
|
|||||||
* SqlWalker needs to generate nested INNER JOIN statements, otherwise there would be INNER JOIN
|
* SqlWalker needs to generate nested INNER JOIN statements, otherwise there would be INNER JOIN
|
||||||
* statements without an ON clause, which are valid on e.g. MySQL but rejected by PostgreSQL.
|
* statements without an ON clause, which are valid on e.g. MySQL but rejected by PostgreSQL.
|
||||||
*/
|
*/
|
||||||
public function testIssue()
|
public function testIssue() : void
|
||||||
{
|
{
|
||||||
$query = $this->_em->createQueryBuilder()
|
$query = $this->_em->createQueryBuilder()
|
||||||
->select('p')
|
->select('p')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user