Skip to content

Commit bbbff31

Browse files
authored
Remove unnecessary backslashes.
1 parent 30a3a81 commit bbbff31

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-includes/ai-client/class-wp-ai-client-prompt-builder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ class WP_AI_Client_Prompt_Builder {
167167
public function __construct( ProviderRegistry $registry, $prompt = null ) {
168168
try {
169169
$this->builder = new PromptBuilder( $registry, $prompt );
170-
} catch ( \Exception $e ) {
170+
} catch ( Exception $e ) {
171171
$this->builder = new PromptBuilder( $registry );
172-
$this->error = new \WP_Error(
172+
$this->error = new WP_Error(
173173
'prompt_builder_error',
174174
$e->getMessage(),
175175
array(

0 commit comments

Comments
 (0)