diff --git a/src/ExternalEvents.php b/src/ExternalEvents.php index af35af5..6a640db 100644 --- a/src/ExternalEvents.php +++ b/src/ExternalEvents.php @@ -66,7 +66,6 @@ public static function publish(string $service, Message $class, array $headers = $executionTimeMs = ($endTimeMs - $startTimeMs) * 1000; $logMessage = self::$formatter->formatOutgoingMessage( - $service, $routingKey, $message, $executionTimeMs, diff --git a/src/LogMessageFormatterInterface.php b/src/LogMessageFormatterInterface.php index fa42561..95cd451 100644 --- a/src/LogMessageFormatterInterface.php +++ b/src/LogMessageFormatterInterface.php @@ -7,7 +7,6 @@ interface LogMessageFormatterInterface { public function formatOutgoingMessage( - string $service, string $routingKey, array $message, int $executionTimeMs, diff --git a/tests/ExternalEventsTest.php b/tests/ExternalEventsTest.php index 72ec699..54c9fe4 100644 --- a/tests/ExternalEventsTest.php +++ b/tests/ExternalEventsTest.php @@ -118,7 +118,6 @@ public function whenPublishMessageWithLoggerAndFormatterItShouldPublishAndLogIt( $formatter->shouldReceive('formatOutgoingMessage') ->once() ->with( - $service, ':service:.softonic.laravel_protobuf_events.fake_proto.fake_message', [ 'client' => ':client:',