Passed
Pull Request — master (#209)
by Dmitriy
28:56 queued 26:33
created

MemoryStorageTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 5
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getStorage() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yiisoft\Yii\Debug\Tests\Unit\Storage;
6
7
use Yiisoft\Yii\Debug\DebuggerIdGenerator;
8
use Yiisoft\Yii\Debug\Storage\MemoryStorage;
9
use Yiisoft\Yii\Debug\Storage\StorageInterface;
10
11
final class MemoryStorageTest extends AbstractStorageTest
12
{
13
    public function getStorage(DebuggerIdGenerator $idGenerator): StorageInterface
14
    {
15
        return new MemoryStorage($idGenerator);
16
    }
17
}
18