Passed
Pull Request — master (#20)
by Бабичев
03:06
created

CanBePaid::refund()   A

Complexity

Conditions 3
Paths 2

Size

Total Lines 29
Code Lines 19

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 18
CRAP Score 3

Importance

Changes 0
Metric Value
cc 3
eloc 19
nc 2
nop 3
dl 0
loc 29
ccs 18
cts 18
cp 1
crap 3
rs 9.6333
c 0
b 0
f 0
1
<?php
2
3
namespace Bavix\Wallet\Traits;
4
5
/**
6
 * Trait CanBePaid
7
 * @package Bavix\Wallet\Traits
8
 * @deprecated use trait CanPay
9
 * @see https://github.com/bavix/laravel-wallet/issues/19
10
 */
11
trait CanBePaid
12
{
13
    use CanPay;
14
}
15