Skip to content

Commit 47feb18

Browse files
committed
CS: apply is_null
1 parent 6babdb3 commit 47feb18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Twig/Command/DebugCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private function getMetadata($type, $entity)
141141
}
142142
if ($type === 'functions' || $type === 'filters') {
143143
$cb = $entity->getCallable();
144-
if (is_null($cb)) {
144+
if (null === $cb) {
145145
return;
146146
}
147147
if (is_array($cb)) {

0 commit comments

Comments
 (0)