push
github
1 of 1 new or added line in 1 file covered. (100.0%)
674 existing lines in 26 files now uncovered.1301 of 3665 relevant lines covered (35.5%)
47.08 hits per line
1 |
<?php
|
|
2 |
|
|
3 |
namespace Miaoxing\Plugin; |
|
4 |
|
|
5 |
use Exception; |
|
6 |
|
|
7 |
class RetException extends Exception |
|
8 |
{ |
|
9 |
protected $ret; |
|
10 |
|
|
11 |
public function __construct($ret) |
|
UNCOV
12
|
{ |
× |
13 |
$this->ret = $ret; |
× |
14 |
parent::__construct($ret['message'], $ret['code']); |
× |
UNCOV
15
|
} |
× |
16 |
|
|
17 |
public function getRet() |
|
UNCOV
18
|
{ |
× |
19 |
return $this->ret; |
× |
UNCOV
20
|
} |
× |
21 |
} |