Completed
Push — develop ( 6fd965...1bc1b2 )
by Christoffer
02:13
created

MockRefreshTokenStorage::get()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace Nord\Lumen\OAuth2\Tests;
4
5
use League\OAuth2\Server\Entity\RefreshTokenEntity;
6
use League\OAuth2\Server\Storage\RefreshTokenInterface;
7
8
class MockRefreshTokenStorage extends MockStorage implements RefreshTokenInterface
9
{
10
    /**
11
     * @inheritdoc
12
     */
13
    public function get($token)
14
    {
15
        return null;
16
    }
17
18
    /**
19
     * @inheritdoc
20
     */
21
    public function create($token, $expireTime, $accessToken)
22
    {
23
        return null;
24
    }
25
26
    /**
27
     * @inheritdoc
28
     */
29
    public function delete(RefreshTokenEntity $token)
30
    {
31
    }
32
}
33