Skip to content

Commit

Permalink
fixed test name + added suggested change to add type to EntityRelatio…
Browse files Browse the repository at this point in the history
…n::joinTableName
  • Loading branch information
ramity committed Jan 7, 2024
1 parent 5abc8c2 commit f4eda5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Doctrine/EntityRelation.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class EntityRelation
private bool $isSelfReferencing = false;
private bool $orphanRemoval = false;
private bool $mapInverseRelation = true;
private $joinTableName;
private ?string $joinTableName;

public function __construct(
private string $type,
Expand Down
2 changes: 1 addition & 1 deletion tests/Maker/MakeEntityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function getTestDetails(): \Generator
'',
]);

$this->runCustomTest($runner, 'it_adds_many_to_many_simple.php');
$this->runCustomTest($runner, 'it_adds_many_to_many_with_custom_join_table.php');
}),
];

Expand Down

0 comments on commit f4eda5a

Please sign in to comment.