Completed
Push — master ( c53950...8b48d3 )
by
unknown
07:25 queued 17s
created
src/Core.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     {
19 19
         add_action('admin_menu', [$this, 'enqueue_styles'], 20);
20 20
         add_action('admin_enqueue_scripts', [$this, 'enqueue_scripts'], 10, 1);
21
-        add_action('rest_api_init', function () {
21
+        add_action('rest_api_init', function() {
22 22
             register_rest_route('kmm/v2', '/alive', [
23 23
                 'methods' => 'POST',
24 24
                 'callback' => [$this, 'check_alive'],
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
         $msg .= 'PostID: ' . $post . "\n";
47 47
 
48
-        if (! is_user_logged_in()) {
48
+        if ( ! is_user_logged_in()) {
49 49
             do_action('krn_send_slack', ['channel' => '#debug-editor', 'text' => $msg], true);
50 50
         }
51 51
 
Please login to merge, or discard this patch.