Test Failed
Pull Request — master (#14)
by Christopher
09:20 queued 05:54
created

testType::isChildArrayOK()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 2
1
<?php
2
3
namespace AlgoWeb\ODataMetadata\Tests;
4
5
use AlgoWeb\ODataMetadata\IsOK;
6
7
class testType extends IsOK
8
{
9
    public function isStringNotNullOrEmpty($str)
10
    {
11
        return parent::isStringNotNullOrEmpty($str);
12
    }
13
14
    public function isStringNotNull($str)
15
    {
16
        return parent::isStringNotNull($str);
17
    }
18
19
    public function isNotNullInstanceOf($var, $instanceOf)
20
    {
21
        return parent::isNotNullInstanceOf($var, $instanceOf);
22
    }
23
24
    public function isNullInstanceOf($var, $instanceOf)
25
    {
26
        return parent::isNullInstanceOf($var, $instanceOf);
27
    }
28
29
    public function isValidArray(array $arr, $instanceOf, $minCount = -1, $maxCount = -1)
30
    {
31
        return parent::isValidArray($arr, $instanceOf, $minCount, $maxCount);
32
    }
33
34
    public function isChildArrayOK(array $arr, &$msg)
35
    {
36
        return parent::isChildArrayOK($arr, $msg);
37
    }
38
39
    public function isURLValid($url)
40
    {
41
        return parent::isURLValid($url);
42
    }
43
44
    public function isOK(&$msg = null)
45
    {
46
        return true;
47
    }
48
}
49