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

CanBePaid::safeRefundGift()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 2

Importance

Changes 0
Metric Value
cc 2
eloc 4
nc 2
nop 2
dl 0
loc 6
ccs 4
cts 4
cp 1
crap 2
rs 10
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