Commit 611a0708 authored by Erick Hitter's avatar Erick Hitter
Browse files

PHPCS fixes

parent 0cac2767
...@@ -40,7 +40,10 @@ class Lock extends \WP_CLI_Command { ...@@ -40,7 +40,10 @@ class Lock extends \WP_CLI_Command {
\WP_CLI::error( sprintf( __( 'Specify an action', 'automattic-cron-control' ) ) ); \WP_CLI::error( sprintf( __( 'Specify an action', 'automattic-cron-control' ) ) );
} }
$lock_name = \Automattic\WP\Cron_Control\Events::instance()->get_lock_key_for_event_action( (object) array( 'action' => $args[0] ) ); $lock_name = \Automattic\WP\Cron_Control\Events::instance()->get_lock_key_for_event_action( (object) array(
'action' => $args[0],
) );
$lock_limit = 1; $lock_limit = 1;
$lock_description = __( "This lock prevents concurrent executions of events with the same action, regardless of the action's arguments.", 'automattic-cron-control' ); $lock_description = __( "This lock prevents concurrent executions of events with the same action, regardless of the action's arguments.", 'automattic-cron-control' );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment