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

ArgumentsAnonymousType::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\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