Skip to content

Commit 0c87434

Browse files
committed
Fix PHPCS
1 parent 61ac6c1 commit 0c87434

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

includes/Classifai/Features/RecommendedContent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct() {
3030

3131
// Contains just the providers this feature supports.
3232
$this->supported_providers = [
33-
OpenAIEmbeddings::ID => __( 'OpenAI Embeddings', 'classifai' ),
33+
OpenAIEmbeddings::ID => __( 'OpenAI Embeddings', 'classifai' ),
3434
];
3535
}
3636

includes/Classifai/Plugin.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -303,13 +303,13 @@ public function maybe_migrate_to_v3() {
303303
$features = array();
304304

305305
// Get the existing settings.
306-
$nlu_settings = get_option( 'classifai_watson_nlu', [] );
307-
$embeddings_settings = get_option( 'classifai_openai_embeddings', [] );
308-
$whisper_settings = get_option( 'classifai_openai_whisper', [] );
309-
$chatgpt_settings = get_option( 'classifai_openai_chatgpt', [] );
310-
$tts_settings = get_option( 'classifai_azure_text_to_speech', [] );
311-
$vision_settings = get_option( 'classifai_computer_vision', [] );
312-
$dalle_settings = get_option( 'classifai_openai_dalle', [] );
306+
$nlu_settings = get_option( 'classifai_watson_nlu', [] );
307+
$embeddings_settings = get_option( 'classifai_openai_embeddings', [] );
308+
$whisper_settings = get_option( 'classifai_openai_whisper', [] );
309+
$chatgpt_settings = get_option( 'classifai_openai_chatgpt', [] );
310+
$tts_settings = get_option( 'classifai_azure_text_to_speech', [] );
311+
$vision_settings = get_option( 'classifai_computer_vision', [] );
312+
$dalle_settings = get_option( 'classifai_openai_dalle', [] );
313313

314314
// If settings are there, migrate them.
315315
if ( ! empty( $nlu_settings ) || ! empty( $embeddings_settings ) ) {

0 commit comments

Comments
 (0)