Passed
Push — chore/add-feature-tests ( 36c2df...e56562 )
by Bas
04:12 queued 19s
created

setTransactionCollections()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
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 394
    public function setTransactionCollections($transactionCollections): void
18
    {
19 394
        $this->transactionCollections = $transactionCollections;
20
    }
21
}
22