Passed
Push — master ( 88028e...bb6d6f )
by Alexander
03:21
created

ModelExceptionTrait::saveOrThrow()   A

Complexity

Conditions 3
Paths 2

Size

Total Lines 9

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 12

Importance

Changes 0
Metric Value
dl 0
loc 9
ccs 0
cts 9
cp 0
rs 9.9666
c 0
b 0
f 0
cc 3
nc 2
nop 2
crap 12
1
<?php
2
3
namespace Horat1us\Yii\Traits;
4
5
use Horat1us\Yii\Validation;
6
7
/**
8
 * Class ModelExceptionTrait
9
 * @package Horat1us\Yii\Traits
10
 * @deprecated
11
 * @see Validation\ExceptionTrait
12
 */
13
trait ModelExceptionTrait
14
{
15
    use Validation\ExceptionTrait;
16
}
17