Skip to content

Commit 8ff207a

Browse files
committed
[Platform] `#[\SensitiveParameter] attribute on one line with parameter
1 parent 23f6ce5 commit 8ff207a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Bridge/Azure/Meta/PlatformFactory.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
{
2424
public static function create(
2525
string $baseUrl,
26-
#[\SensitiveParameter]
27-
string $apiKey,
26+
#[\SensitiveParameter] string $apiKey,
2827
?HttpClientInterface $httpClient = null,
2928
?Contract $contract = null,
3029
): Platform {

src/Bridge/Mistral/PlatformFactory.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
final class PlatformFactory
2626
{
2727
public static function create(
28-
#[\SensitiveParameter]
29-
string $apiKey,
28+
#[\SensitiveParameter] string $apiKey,
3029
?HttpClientInterface $httpClient = null,
3130
?Contract $contract = null,
3231
): Platform {

0 commit comments

Comments
 (0)