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

TCollectionExpressionType   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 12
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A isOK() 0 7 2
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