Completed
Pull Request — master (#20)
by Бабичев
05:07
created

CanBePaid::paid()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 18
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 10
CRAP Score 2

Importance

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