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

TCommandTextTrait   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 10
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A isTCommandTextValid() 0 7 3
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
}