Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveb-p committed Oct 19, 2023
1 parent 50b1807 commit 7fa4751
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/lib/Gateway/ExpressionVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,17 @@ public function walkComparison(Comparison $comparison)
$relationshipType = get_class($relationship);

switch ($relationshipType) {
case DoctrineOneToManyRelationship::class:
case PreJoinedDoctrineRelationship::class:
return $this->handleOneToManyRelationship(
case DoctrineRelationship::class:
return $this->handleRelationship(
$relationshipMetadata,
$relationship->getForeignKeyColumn(),
$foreignClassProperty,
$comparison->getValue(),
);
case DoctrineRelationship::class:
return $this->handleRelationship(
case DoctrineOneToManyRelationship::class:
case PreJoinedDoctrineRelationship::class:
return $this->handleOneToManyRelationship(
$relationshipMetadata,
$relationship->getForeignKeyColumn(),
$foreignClassProperty,
$comparison->getValue(),
);
Expand Down

0 comments on commit 7fa4751

Please sign in to comment.