Completed
Push — develop ( 8c40f2...efb4ea )
by Evan
03:09
created

UserDeleter::execute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php
2
3
namespace Silk\User\Action;
4
5
use Silk\Database\Action;
6
7
class UserDeleter extends Action
8
{
0 ignored issues
show
introduced by
Opening brace of a class must be on the same line as the definition
Loading history...
9
    public function execute()
0 ignored issues
show
introduced by
4 spaces found, expected 1 tabs
Loading history...
10
    {
0 ignored issues
show
introduced by
4 spaces found, expected 1 tabs
Loading history...
introduced by
Opening brace of a function must be on the same line as the definition
Loading history...
11
        wp_delete_user($this->model->id);
0 ignored issues
show
introduced by
8 spaces found, expected 2 tabs
Loading history...
12
    }
0 ignored issues
show
introduced by
4 spaces found, expected 1 tabs
Loading history...
13
}
0 ignored issues
show
introduced by
Closing brace of a class must have a new line between itself and the last content.
Loading history...
14