Misc/Fixup

* obligatory after-the-fact fixups
This commit is contained in:
Sarjuuk
2022-03-22 16:25:36 +01:00
parent d819bf60f5
commit 7caabc0fa8
11 changed files with 14 additions and 80 deletions

View File

@@ -1844,7 +1844,7 @@ abstract class Type
$x = [];
foreach (self::$data as $k => [$o, , , $f])
if ($o && (!$flags || $flags & $f))
if (!$attr || self::checkClassAttrib($attr, $attrVal))
if (!$attr || self::checkClassAttrib($k, $attr, $attrVal))
$x[$k] = $o;
return $x;