Passed
Push — next ( d224bd...9e651f )
by Bas
15:29 queued 11:57
created

WithArangoDb::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 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
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;
6
7
trait WithArangoDb
8
{
9
    use Concerns\InteractsWithDatabase;
10
11
    /**
12
     * @var array<string, array<string>>
13
     */
14
    protected array $transactionCollections = [];
15
16
    /**
17
     * @param  array<string, array<string>>  $transactionCollections
18
     */
19 310
    public function setTransactionCollections(array $transactionCollections): void
20
    {
21 310
        $this->transactionCollections = $transactionCollections;
22
    }
23
}
24