<?php
/**
 * Interface for JiraWebhookData converters.
 *
 * @credits https://github.com/kommuna
 * @author  Chewbacca chewbacca@devadmin.com
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace JiraWebhook;

use JiraWebhook\Models\JiraWebhookData;

interface JiraWebhookDataConverter
{
    /**
     * Convert $data into a formatted string message
     *
     * @param JiraWebhookData $data parsed data from JIRA webhook
     *
     * @return string
     */
    public function convert(JiraWebhookData $data);
}
<?php
/**
 * Interface for JiraWebhookData converters.
 *
 * @credits https://github.com/kommuna
 * @author  Chewbacca chewbacca@devadmin.com
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace JiraWebhook;

use JiraWebhook\Models\JiraWebhookData;
use Maknz\Slack\Message;

interface JiraWebhookDataConverter
{
    /**
     * Convert $data into a Slack Client Instance
     *
     * @param JiraWebhookData $data parsed data from JIRA webhook
     * @param Message $message Slack Client Message instance
     *
     * @return Message
     */
    public function convert(JiraWebhookData $data, Message $message);
}
--- 
+++ 
@@ -11,17 +11,15 @@
 namespace JiraWebhook;
 
 use JiraWebhook\Models\JiraWebhookData;
-use Maknz\Slack\Message;
 
 interface JiraWebhookDataConverter
 {
     /**
-     * Convert $data into a Slack Client Instance
+     * Convert $data into a formatted string message
      *
      * @param JiraWebhookData $data parsed data from JIRA webhook
-     * @param Message $message Slack Client Message instance
      *
-     * @return Message
+     * @return string
      */
-    public function convert(JiraWebhookData $data, Message $message);
+    public function convert(JiraWebhookData $data);
 }
[TL-48] Remove slack dependency from interface
