diff --git a/code_samples/multisite/automated_translation/src/AutomatedTranslation/AiClient.php b/code_samples/multisite/automated_translation/src/AutomatedTranslation/AiClient.php index e71dc46100..2c5b41f31b 100644 --- a/code_samples/multisite/automated_translation/src/AutomatedTranslation/AiClient.php +++ b/code_samples/multisite/automated_translation/src/AutomatedTranslation/AiClient.php @@ -2,8 +2,8 @@ namespace App\AutomatedTranslation; -use Ibexa\AutomatedTranslation\Exception\ClientNotConfiguredException; use Ibexa\Contracts\AutomatedTranslation\Client\ClientInterface; +use Ibexa\Contracts\AutomatedTranslation\Exception\ClientNotConfiguredException; use Ibexa\Contracts\ConnectorAi\Action\DataType\Text; use Ibexa\Contracts\ConnectorAi\Action\RuntimeContext; use Ibexa\Contracts\ConnectorAi\ActionConfigurationServiceInterface; diff --git a/docs/multisite/languages/automated_translations.md b/docs/multisite/languages/automated_translations.md index e6371b2815..5bd9ee10d8 100644 --- a/docs/multisite/languages/automated_translations.md +++ b/docs/multisite/languages/automated_translations.md @@ -96,7 +96,7 @@ To learn how to build custom AI actions see [Extending AI actions](extend_ai_act 1. Create a service that implements the [`\Ibexa\AutomatedTranslation\Client\ClientInterface`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-AutomatedTranslation-Client-ClientInterface.html) interface: -``` php hl_lines="35-52" +``` php hl_lines="31-48" [[= include_file('code_samples/multisite/automated_translation/src/AutomatedTranslation/AiClient.php') =]] ```