CS: apply is_null
This commit is contained in:
parent
6babdb3296
commit
47feb18d31
|
@ -141,7 +141,7 @@ EOF
|
||||||
}
|
}
|
||||||
if ($type === 'functions' || $type === 'filters') {
|
if ($type === 'functions' || $type === 'filters') {
|
||||||
$cb = $entity->getCallable();
|
$cb = $entity->getCallable();
|
||||||
if (is_null($cb)) {
|
if (null === $cb) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (is_array($cb)) {
|
if (is_array($cb)) {
|
||||||
|
|
Reference in New Issue