Skip to content

Commit

Permalink
Fix last tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maximehuran committed Sep 4, 2024
1 parent 626e3f7 commit 973f526
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public function getConfigTreeBuilder(): TreeBuilder

private function addExpirationPeriodsSection(ArrayNodeDefinition $node): void
{
/** @phpstan-ignore-next-line */
$node
->children()
->arrayNode('exceeded')
Expand Down
2 changes: 2 additions & 0 deletions src/Entity/QuarantineItemAwareTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ trait QuarantineItemAwareTrait
* @ORM\OneToOne(targetEntity="MonsieurBiz\SyliusAntiSpamPlugin\Entity\QuarantineItemInterface", fetch="LAZY", cascade={"persist", "remove"})
* @ORM\JoinColumn(name="quarantine_item_id", referencedColumnName="id", nullable=true, onDelete="SET NULL")
*/
#[ORM\OneToOne(targetEntity: 'MonsieurBiz\SyliusAntiSpamPlugin\Entity\QuarantineItemInterface', fetch: 'LAZY', cascade: ['persist', 'remove'])]
#[ORM\JoinColumn(name: 'quarantine_item_id', referencedColumnName: 'id', nullable: true, onDelete: 'SET NULL')]
protected ?QuarantineItemInterface $quarantineItem = null;

public function getQuarantineItem(): ?QuarantineItemInterface
Expand Down

0 comments on commit 973f526

Please sign in to comment.