Passed
Pull Request — next (#125)
by Bas
06:59 queued 03:51
created

PreparesTestingTransactions   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 3
c 0
b 0
f 0
dl 0
loc 13
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A setTransactionCollections() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace LaravelFreelancerNL\Aranguent\Testing\Concerns;
6
7
trait PreparesTestingTransactions
8
{
9
    /**
10
     * @var array<string, array<string>>
11
     */
12
    protected $transactionCollections = [];
13
14
    /**
15
     * @param  array<string, array<string>>  $transactionCollections
16
     */
17 350
    public function setTransactionCollections($transactionCollections): void
18
    {
19 350
        $this->transactionCollections = $transactionCollections;
20
    }
21
}
22