Completed
Pull Request — release-v2.1 (#14)
by Quentin
09:51 queued 06:38
created

ApplicationRepository   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 2
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 16
ccs 0
cts 6
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A persist() 0 3 1
A remove() 0 3 1
1
<?php
2
3
namespace Majora\Component\OAuth\Repository\Null;
4
5
use Majora\Component\OAuth\Model\ApplicationInterface;
6
use Majora\Component\OAuth\Repository\ApplicationRepositoryInterface;
7
8
/**
9
 * Application repository empty implementation.
10
 */
11
class ApplicationRepository implements ApplicationRepositoryInterface
12
{
13
    /**
14
     * @see TokenRepositoryInterface::persist()
15
     */
16
    public function persist(ApplicationInterface $application)
17
    {
18
    }
19
20
    /**
21
     * @see TokenRepositoryInterface::remove()
22
     */
23
    public function remove(ApplicationInterface $application)
24
    {
25
    }
26
}
27