diff --git a/web/modules/custom/blog/src/Service/PostPusher/IftttPostPusher.php b/web/modules/custom/blog/src/Service/PostPusher/IftttPostPusher.php index 200eac1..db9b36b 100644 --- a/web/modules/custom/blog/src/Service/PostPusher/IftttPostPusher.php +++ b/web/modules/custom/blog/src/Service/PostPusher/IftttPostPusher.php @@ -10,7 +10,7 @@ use Drupal\opdavies_blog\Entity\Node\Post; use GuzzleHttp\ClientInterface; use Webmozart\Assert\Assert; -final class IftttPostPusher extends HttpPostPusher { +final class IftttPostPusher extends WebhookPostPusher { use StringTranslationTrait; diff --git a/web/modules/custom/blog/src/Service/PostPusher/IntegromatPostPusher.php b/web/modules/custom/blog/src/Service/PostPusher/IntegromatPostPusher.php index 86436b4..2b2367b 100644 --- a/web/modules/custom/blog/src/Service/PostPusher/IntegromatPostPusher.php +++ b/web/modules/custom/blog/src/Service/PostPusher/IntegromatPostPusher.php @@ -10,7 +10,7 @@ use Drupal\opdavies_blog\Entity\Node\Post; use GuzzleHttp\ClientInterface; use Webmozart\Assert\Assert; -final class IntegromatPostPusher extends HttpPostPusher { +final class IntegromatPostPusher extends WebhookPostPusher { use StringTranslationTrait; diff --git a/web/modules/custom/blog/src/Service/PostPusher/HttpPostPusher.php b/web/modules/custom/blog/src/Service/PostPusher/WebhookPostPusher.php similarity index 81% rename from web/modules/custom/blog/src/Service/PostPusher/HttpPostPusher.php rename to web/modules/custom/blog/src/Service/PostPusher/WebhookPostPusher.php index b198122..62af191 100644 --- a/web/modules/custom/blog/src/Service/PostPusher/HttpPostPusher.php +++ b/web/modules/custom/blog/src/Service/PostPusher/WebhookPostPusher.php @@ -6,7 +6,7 @@ namespace Drupal\opdavies_blog\Service\PostPusher; use GuzzleHttp\ClientInterface; -abstract class HttpPostPusher implements PostPusher { +abstract class WebhookPostPusher implements PostPusher { protected ClientInterface $client;