CS: apply is_null

This commit is contained in:
Dariusz Ruminski 2017-01-12 23:27:26 +01:00
parent 6babdb3296
commit 47feb18d31
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {