Passed
Pull Request — master (#209)
by Dmitriy
02:57
created

MemoryStorageTest::getStorage()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
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