Skip to content

Commit 883cbaa

Browse files
committed
Rename interface
1 parent 5fd2e5b commit 883cbaa

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Setono\SyliusCatalogPromotionPlugin\Message\Command;
6+
7+
/**
8+
* Implemented by commands in this plugin that are meant to be handled asynchronously
9+
*/
10+
interface AsyncCommandInterface
11+
{
12+
}

src/Message/Command/CommandInterface.php

-9
This file was deleted.

src/Message/Command/ProcessCatalogPromotions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
use Setono\SyliusCatalogPromotionPlugin\Model\PromotionInterface;
88

9-
final class ProcessCatalogPromotions implements CommandInterface
9+
final class ProcessCatalogPromotions implements AsyncCommandInterface
1010
{
1111
/**
1212
* A list of catalog promotion codes to process. If empty, all catalog promotions will be processed

0 commit comments

Comments
 (0)