Passed
Push — master ( feaee9...2b3e4e )
by Alex
04:28
created

AppliedFunctionAnonymousType   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
use AlgoWeb\ODataMetadata\MetadataV3\edm\TAnonymousFunctionExpressionType;
8
use AlgoWeb\ODataMetadata\MetadataV3\edm\TApplyExpressionType;
9
use AlgoWeb\ODataMetadata\MetadataV3\edm\TCollectionExpressionType;
10
use AlgoWeb\ODataMetadata\MetadataV3\edm\TEntitySetReferenceExpressionType;
11
use AlgoWeb\ODataMetadata\MetadataV3\edm\TFunctionReferenceExpressionType;
12
use AlgoWeb\ODataMetadata\MetadataV3\edm\TIfExpressionType;
13
use AlgoWeb\ODataMetadata\MetadataV3\edm\TParameterReferenceExpressionType;
14
use AlgoWeb\ODataMetadata\MetadataV3\edm\TPropertyReferenceExpressionType;
15
use AlgoWeb\ODataMetadata\MetadataV3\edm\TRecordExpressionType;
16
use AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeAssertExpressionType;
17
use AlgoWeb\ODataMetadata\MetadataV3\edm\TTypeTestExpressionType;
18
use AlgoWeb\ODataMetadata\MetadataV3\edm\TValueTermReferenceExpressionType;
19
20
/**
21
 * Class representing AppliedFunctionAnonymousType
22
 */
23
class AppliedFunctionAnonymousType extends IsOK
24
{
25
    use GExpressionTrait;
26
27
    public function isOK(&$msg = null)
28
    {
29
        if (!$this->isGExpressionValid($msg)) {
30
            return false;
31
        }
32
        return true;
33
    }
34
}
35