Passed
Push — master ( 189420...0898fe )
by Alex
04:14
created

TCollectionExpressionType::isOK()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 9.4285
c 0
b 0
f 0
cc 2
eloc 4
nc 2
nop 1
1
<?php
2
3
namespace AlgoWeb\ODataMetadata\MetadataV3\edm;
4
5
use AlgoWeb\ODataMetadata\IsOK;
6
use AlgoWeb\ODataMetadata\MetadataV3\edm\Groups\GExpressionTrait;
7
8
/**
9
 * Class representing TCollectionExpressionType
10
 *
11
 *
12
 * XSD Type: TCollectionExpression
13
 */
14
class TCollectionExpressionType extends IsOK
15
{
16
    use GExpressionTrait;
17
18
    public function isOK(&$msg = null)
19
    {
20
        if (!$this->isGExpressionValid($msg)) {
21
            return false;
22
        }
23
        return true;
24
    }
25
}
26