Completed
Push — master ( 3e1f6e...114870 )
by Žilvinas
03:03
created

Bdoc   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A guess() 0 8 2
1
<?php
2
namespace Isign\DocumentTypeGuesser;
3
4
class Bdoc implements DocumentTypeGuesserInterface
5
{
6
    public function guess($content, $extension)
7
    {
8
        if ($extension != 'bdoc') {
9
            return;
10
        }
11
12
        return 'bdoc';
13
    }
14
}
15