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

ArgumentsAnonymousType   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 12
rs 10
c 0
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\TApplyExpressionType;
4
5
use AlgoWeb\ODataMetadata\IsOK;
6
use AlgoWeb\ODataMetadata\MetadataV3\edm\Groups\GExpressionTrait;
7
8
/**
9
 * Class representing ArgumentsAnonymousType
10
 */
11
class ArgumentsAnonymousType extends IsOK
12
{
13
    use GExpressionTrait;
14
15
    public function isOK(&$msg = null)
16
    {
17
        if (!$this->isGExpressionValid($msg)) {
18
            return false;
19
        }
20
        return true;
21
    }
22
}
23