Completed
Push — master ( a83709...932cd1 )
by Alex
04:41
created

StringType   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 15
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A isCompatibleWith() 0 4 1
1
<?php
2
3
namespace POData\Providers\Metadata\Type;
4
5
/**
6
 * Class String.
7
 */
8
class StringType extends EdmString
9
{
10
    /**
11
     * Checks this type (String) is compatible with another type
12
     * Note: implementation of IType::isCompatibleWith.
13
     *
14
     * @param IType $type Type to check compatibility
15
     *
16
     * @return bool
17
     */
18
    public function isCompatibleWith(IType $type)
19
    {
20
        return parent::isCompatibleWith($type);
21
    }
22
}
23