diff --git a/src/platform/src/Bridge/Azure/Meta/PlatformFactory.php b/src/platform/src/Bridge/Azure/Meta/PlatformFactory.php index b912d9518..d17e133d1 100644 --- a/src/platform/src/Bridge/Azure/Meta/PlatformFactory.php +++ b/src/platform/src/Bridge/Azure/Meta/PlatformFactory.php @@ -23,8 +23,7 @@ { public static function create( string $baseUrl, - #[\SensitiveParameter] - string $apiKey, + #[\SensitiveParameter] string $apiKey, ?HttpClientInterface $httpClient = null, ?Contract $contract = null, ): Platform { diff --git a/src/platform/src/Bridge/Mistral/PlatformFactory.php b/src/platform/src/Bridge/Mistral/PlatformFactory.php index e38f9bd1a..048f4100a 100644 --- a/src/platform/src/Bridge/Mistral/PlatformFactory.php +++ b/src/platform/src/Bridge/Mistral/PlatformFactory.php @@ -25,8 +25,7 @@ final class PlatformFactory { public static function create( - #[\SensitiveParameter] - string $apiKey, + #[\SensitiveParameter] string $apiKey, ?HttpClientInterface $httpClient = null, ?Contract $contract = null, ): Platform {