Skip to content

Commit 0b390c7

Browse files
committed
minor #690 [Platform] `#[\SensitiveParameter] attribute on one line with parameter (OskarStark)
This PR was merged into the main branch. Discussion ---------- [Platform] ``#[\SensitiveParameter]` attribute on one line with parameter | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | no | Issues | -- | License | MIT Commits ------- e7d3ded [Platform] ``#[\SensitiveParameter]` attribute on one line with parameter
2 parents 5d4baad + e7d3ded commit 0b390c7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/platform/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/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)