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

StringType::getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 4
Ratio 100 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 4
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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