Failed Conditions
Push — refactor/improve-static-analys... ( bdf823...46faab )
by Bas
10:08
created

WithArangoDb::setTransactionCollections()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 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
    public function setTransactionCollections(array $transactionCollections): void
20
    {
21
        $this->transactionCollections = $transactionCollections;
22
    }
23
}
24