Passed
Push — master ( 2ac80a...64818d )
by Christopher
03:57
created

TCommandTextTrait::isTCommandTextValid()   A

Complexity

Conditions 3
Paths 2

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 7
rs 9.4285
cc 3
eloc 4
nc 2
nop 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Doc
5
 * Date: 5/1/2017
6
 * Time: 8:59 PM
7
 */
8
9
namespace AlgoWeb\ODataMetadata\MetadataV3\edm\ssdl\IsOKTraits;
10
11
12
trait TCommandTextTrait
13
{
14
    public function isTCommandTextValid($string)
15
    {
16
        if(null == $string || empty($string)){
17
            return false;
18
        }
19
        return true;
20
    }
21
}