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

WithArangoDb   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 4
c 1
b 0
f 0
dl 0
loc 15
rs 10

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
    public function setTransactionCollections(array $transactionCollections): void
20
    {
21
        $this->transactionCollections = $transactionCollections;
22
    }
23
}
24