Completed
Push — master ( eb3cd5...621598 )
by Yasunori
12s queued 11s
created

IsNotNullTrait   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 2
c 1
b 0
f 1
dl 0
loc 5
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A is_not_null() 0 3 1
1
<?php
2
3
namespace devfym\IntelliPHP\Traits;
4
5
trait IsNotNullTrait
6
{
7
    function is_not_null($value)
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
8
    {
9
        return !is_null($value);
10
    }
11
}