Invoice::fake()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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