Skip to content

Commit

Permalink
Remove abstract layer for entity actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-kl1 committed Jun 27, 2024
1 parent 8685359 commit 3382ac9
Show file tree
Hide file tree
Showing 38 changed files with 123 additions and 1,553 deletions.
59 changes: 0 additions & 59 deletions Api/ActionEntityRepositoryInterface.php

This file was deleted.

26 changes: 0 additions & 26 deletions Api/ActionInterface.php

This file was deleted.

17 changes: 0 additions & 17 deletions Api/Data/ActionContextInterface.php

This file was deleted.

59 changes: 0 additions & 59 deletions Api/Data/ActionEntityInterface.php

This file was deleted.

31 changes: 0 additions & 31 deletions Api/Data/ActionEntitySearchResultsInterface.php

This file was deleted.

21 changes: 0 additions & 21 deletions Api/Data/ActionResultInterface.php

This file was deleted.

6 changes: 3 additions & 3 deletions Api/EraseSalesInformationInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@

namespace Opengento\Gdpr\Api;

use DateTime;
use DateTimeInterface;
use Opengento\Gdpr\Api\Data\EraseEntityInterface;

/**
* @api
*/
interface EraseSalesInformationInterface
{
public function scheduleEraseEntity(int $entityId, string $entityType, DateTime $lastActive): EraseEntityInterface;
public function scheduleEraseEntity(int $entityId, string $entityType, DateTimeInterface $lastActive): EraseEntityInterface;

Check warning on line 18 in Api/EraseSalesInformationInterface.php

View workflow job for this annotation

GitHub Actions / M2 Coding Standard

Line exceeds 120 characters; contains 128 characters

public function isAlive(DateTime $lastActive): bool;
public function isAlive(DateTimeInterface $lastActive): bool;
}
31 changes: 0 additions & 31 deletions Controller/Adminhtml/Action/Index.php

This file was deleted.

121 changes: 0 additions & 121 deletions Model/ActionEntity.php

This file was deleted.

Loading

0 comments on commit 3382ac9

Please sign in to comment.