Skip to content

Commit

Permalink
chore: fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
badasswp committed Nov 2, 2024
1 parent 82ecee9 commit d5a0313
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions inc/Providers/OpenAI.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ class OpenAI implements Provider {
protected OpenAi $ai;

/**
* Setup AI Client.
* Set up.
*
* @since 1.0.0
*
* @return OpenAi
*/
public function __construct() {
$ai_token = get_option( 'ai_plus_block_editor', [] )['open_ai_token'] ?? '';
Expand Down
2 changes: 1 addition & 1 deletion inc/Routes/Tone.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Tone extends Route implements Router {
public function response() {
$this->args = $this->request->get_json_params();

//Bail out, if it does NOT exists.
// Bail out, if it does NOT exists.
if ( empty( $this->args['content'] ?? '' ) ) {
return $this->get_400_response(
sprintf(
Expand Down

0 comments on commit d5a0313

Please sign in to comment.