Change the messenger on Automators to interface
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3532220. --> Reported by: [marcus_johansson](https://www.drupal.org/user/385947) Related to !695 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>TypeError: Drupal\ai_automators\Plugin\AiAutomatorProcess\DirectSaveProcessing::__construct(): Argument #3 ($messenger) must be of type Drupal\Core\Messenger\Messenger, Drupal\experience_builder\Messenger given, called in /var/www/html/web/modules/custom/ai/modules/ai_automators/src/Plugin/AiAutomatorProcess/DirectSaveProcessing.php on line 58 in Drupal\ai_automators\Plugin\AiAutomatorProcess\DirectSaveProcessing-&gt;__construct() (line 48 of modules/custom/ai/modules/ai_automators/src/Plugin/AiAutomatorProcess/DirectSaveProcessing.php).</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>In DirectSaveProcessing change to use MessengerInterface</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue