diff --git a/src/App/Cli/Example.php b/src/App/Cli/Example.php index a4eb02b..d93bf85 100644 --- a/src/App/Cli/Example.php +++ b/src/App/Cli/Example.php @@ -35,7 +35,7 @@ public function init() { * @see Requester::isCli() * @see Bootstrap::__construct */ - if ( class_exists( \WP_CLI ) ) { + if ( class_exists( '\WP_CLI' ) ) { \WP_CLI::add_command( 'plugin_commandname', [ $this, 'commandExample' ] ); } }