Skip to content

Commit

Permalink
Fix phpcs error
Browse files Browse the repository at this point in the history
  • Loading branch information
HardeepAsrani committed Aug 12, 2020
1 parent b42597c commit aa0808c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions class-otter-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ public function register_routes() {
'/regenerate_styles',
array(
array(
'methods' => \WP_REST_Server::DELETABLE,
'callback' => array( $this, 'regenerate_styles' ),
'methods' => \WP_REST_Server::DELETABLE,
'callback' => array( $this, 'regenerate_styles' ),
'permission_callback' => function () {
return current_user_can( 'manage_options' );
},
Expand Down

0 comments on commit aa0808c

Please sign in to comment.