Conditions | 3 |
Paths | 3 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 0 |
1 | <?php |
||
46 | protected function runInternal($data) |
||
47 | { |
||
48 | // Check access |
||
49 | if (($access = $this->checkAccess($data)) !== true) { |
||
50 | return $access; |
||
51 | } |
||
52 | |||
53 | if (!$this->performAction($data)) { |
||
54 | return $this->handleFailResponse($data); |
||
55 | } |
||
56 | |||
57 | return $this->handleSuccessResponse($data); |
||
58 | } |
||
59 | |||
101 |