fixed #2577

ReflectionClass::getTraitAliases returns "(null)" for class name if trait name omitted in alias rule.
If you want details, please check #2577.