Skip to content

Commit 0397277

Browse files
committed
Update version annotations to 3.6.0
1 parent 27fd51b commit 0397277

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

includes/Classifai/Helpers/CredentialReuse.php

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
*
1414
* Handles detection and reuse of service provider credentials across features.
1515
*
16-
* @since x.x.x
16+
* @since 3.6.0
1717
*/
1818
class CredentialReuse {
1919

2020
/**
2121
* Provider groups that share the same API key.
2222
*
23-
* @since x.x.x
23+
* @since 3.6.0
2424
*
2525
* @var array
2626
*/
@@ -48,7 +48,7 @@ class CredentialReuse {
4848
/**
4949
* Get all configured providers across all features.
5050
*
51-
* @since x.x.x
51+
* @since 3.6.0
5252
*
5353
* @return array Array of configured providers with their credentials.
5454
*/
@@ -76,7 +76,7 @@ public static function get_configured_providers(): array {
7676
/**
7777
* Get the provider group for a given provider ID.
7878
*
79-
* @since x.x.x
79+
* @since 3.6.0
8080
*
8181
* @param string $provider_id The provider ID.
8282
* @return string|null The provider group name or null if not found.
@@ -93,7 +93,7 @@ private static function get_provider_group( string $provider_id ): ?string {
9393
/**
9494
* Get all providers in the same group as the given provider.
9595
*
96-
* @since x.x.x
96+
* @since 3.6.0
9797
*
9898
* @param string $provider_id The provider ID.
9999
* @return array Array of provider IDs in the same group.
@@ -109,7 +109,7 @@ private static function get_providers_in_same_group( string $provider_id ): arra
109109
/**
110110
* Check if a provider is compatible with a feature.
111111
*
112-
* @since x.x.x
112+
* @since 3.6.0
113113
*
114114
* @param string $provider_id The provider ID to check.
115115
* @param string $feature_id The feature ID to check against.
@@ -129,7 +129,7 @@ public static function is_provider_compatible( string $provider_id, string $feat
129129
/**
130130
* Check if any provider in the same group is compatible with a feature.
131131
*
132-
* @since x.x.x
132+
* @since 3.6.0
133133
*
134134
* @param string $provider_id The provider ID to check.
135135
* @param string $feature_id The feature ID to check against.
@@ -150,7 +150,7 @@ private static function is_provider_group_compatible( string $provider_id, strin
150150
/**
151151
* Get the best matching provider ID for a feature from a provider group.
152152
*
153-
* @since x.x.x
153+
* @since 3.6.0
154154
*
155155
* @param string $source_provider_id The source provider ID.
156156
* @param string $feature_id The target feature ID.
@@ -177,7 +177,7 @@ private static function get_best_matching_provider( string $source_provider_id,
177177
/**
178178
* Get reusable credentials for a feature.
179179
*
180-
* @since x.x.x
180+
* @since 3.6.0
181181
*
182182
* @param string $feature_id The feature ID to get credentials for.
183183
* @return array Array of compatible providers with existing credentials.
@@ -216,7 +216,7 @@ public static function get_reusable_credentials( string $feature_id ): array {
216216
/**
217217
* Filter the reusable credentials for a feature.
218218
*
219-
* @since x.x.x
219+
* @since 3.6.0
220220
* @hook classifai_reusable_credentials
221221
*
222222
* @param {array} $reusable Array of reusable credentials.
@@ -230,7 +230,7 @@ public static function get_reusable_credentials( string $feature_id ): array {
230230
/**
231231
* Copy credentials from one feature to another.
232232
*
233-
* @since x.x.x
233+
* @since 3.6.0
234234
*
235235
* @param string $source_feature_id Source feature ID.
236236
* @param string $target_feature_id Target feature ID.
@@ -278,7 +278,7 @@ public static function copy_provider_credentials( string $source_feature_id, str
278278
/**
279279
* Fires after credentials are copied between features.
280280
*
281-
* @since x.x.x
281+
* @since 3.6.0
282282
* @hook classifai_credentials_copied
283283
*
284284
* @param {string} $source_feature_id Source feature ID.
@@ -293,7 +293,7 @@ public static function copy_provider_credentials( string $source_feature_id, str
293293
/**
294294
* Get all feature instances.
295295
*
296-
* @since x.x.x
296+
* @since 3.6.0
297297
*
298298
* @return array Array of feature instances.
299299
*/
@@ -320,7 +320,7 @@ private static function get_all_features(): array {
320320
/**
321321
* Get a user-friendly provider name.
322322
*
323-
* @since x.x.x
323+
* @since 3.6.0
324324
*
325325
* @param string $provider_id The provider ID.
326326
* @return string The formatted provider name.
@@ -352,7 +352,7 @@ public static function get_provider_display_name( string $provider_id ): string
352352
/**
353353
* Get provider groups for external use.
354354
*
355-
* @since x.x.x
355+
* @since 3.6.0
356356
*
357357
* @return array Array of provider groups.
358358
*/

0 commit comments

Comments
 (0)