Invoice   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A fake() 0 4 1
1
<?php
2
3
namespace Tzsk\Payu\Tests;
4
5
use Illuminate\Database\Eloquent\Model;
6
use Tzsk\Payu\Models\HasTransactions;
7
8
class Invoice extends Model
9
{
10
    use HasTransactions;
11
12
    protected $fillable = ['id'];
13
14
    public static function fake()
15
    {
16
        return new self(['id' => 1]);
17
    }
18
}
19