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

CanBePaid::pay()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 11
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 6
CRAP Score 3

Importance

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