We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97e3709 commit fd159c1Copy full SHA for fd159c1
src/element/RootElement.hack
@@ -60,8 +60,7 @@ abstract xhp class RootElement
60
return $this->children;
61
}
62
63
- final public function getDataAndAriaAttributes(
64
- )[]: dict<string, arraykey> {
+ final public function getDataAndAriaAttributes()[]: dict<string, arraykey> {
65
return $this->dataAndAria;
66
67
@@ -275,7 +274,7 @@ abstract xhp class RootElement
275
274
276
277
private static function typeName(mixed $mixed)[]: string {
278
- return \is_object($mixed) ? \get_class($mixed) : \gettype($mixed);
+ return \is_object($mixed) ? \get_class($mixed) : \gettype($mixed) as string;
279
280
281
private static function flattenChildren(
0 commit comments