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

WithArangoDb   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 15
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;
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