MemoryThrottleTest::createStore()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Zenstruck\Governator\Tests\Integration;
4
5
use Zenstruck\Governator\Store;
6
use Zenstruck\Governator\Store\MemoryStore;
7
8
/**
9
 * @group time-sensitive
10
 *
11
 * @author Kevin Bond <[email protected]>
12
 */
13
final class MemoryThrottleTest extends BaseThrottleTest
14
{
15
    protected function createStore(): Store
16
    {
17
        return new MemoryStore();
18
    }
19
}
20