summaryrefslogtreecommitdiff
path: root/src/HTML5/Parser/CharacterReference.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/HTML5/Parser/CharacterReference.php')
-rw-r--r--src/HTML5/Parser/CharacterReference.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HTML5/Parser/CharacterReference.php b/src/HTML5/Parser/CharacterReference.php
index 24cc687..c1617e7 100644
--- a/src/HTML5/Parser/CharacterReference.php
+++ b/src/HTML5/Parser/CharacterReference.php
@@ -30,7 +30,7 @@ class CharacterReference
public static function lookupName($name)
{
// Do we really want to return NULL here? or FFFD
- return isset(Entities::$byName[$name]) ? Entities::$byName[$name] : NULL;
+ return isset(Entities::$byName[$name]) ? Entities::$byName[$name] : null;
}
/**