We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2326a3 commit d8f51acCopy full SHA for d8f51ac
src/HTMLServerComponent.php
@@ -32,7 +32,7 @@ class HTMLServerComponent
32
*/
33
function __get($name)
34
{
35
- return $this->getAttribute(strtolower($name));
+ return $this->getAttribute($name);
36
}
37
38
/**
@@ -43,6 +43,7 @@ function __get($name)
43
44
public function getAttribute($name, $defaultValue = null)
45
46
+ $name = strtolower($name);
47
return isset($this->attributes[$name]) ? (string) $this->attributes[$name] : ($defaultValue === null ? null : (string) $defaultValue);
48
49
0 commit comments