-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Classnames in PHP are case insensitive, so the operator should also be case insensitive.
A quick fix would be to replace,
if ($node->class->toString() !== "DateTime") {
return;
}
with,
if (strtolower($node->class->toString()) !== "datetime") {
return;
}
But this would require us to use strtolower in all operators that check function or class names so I would rather try to find a better way to avoid the case sensitivity issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels