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

StringType::convert()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 18
Code Lines 5

Duplication

Lines 18
Ratio 100 %

Importance

Changes 0
Metric Value
dl 18
loc 18
rs 9.4285
c 0
b 0
f 0
cc 2
eloc 5
nc 2
nop 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