mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
UnsafeForeachArrayOfStringRule: fixed outdated function name
This commit is contained in:
parent
9f4fcfafdb
commit
8da27ea0aa
@ -81,7 +81,7 @@ final class UnsafeForeachArrayOfStringRule implements Rule{
|
||||
RuleErrorBuilder::message(sprintf(
|
||||
"Unsafe foreach on array with key type %s (they might be casted to int).",
|
||||
$iterableType->getIterableKeyType()->describe(VerbosityLevel::value())
|
||||
))->tip("Use Utils::foreachWithStringKeys() for a safe Generator-based iterator.")->build()
|
||||
))->tip("Use Utils::stringifyKeys() for a safe Generator-based iterator.")->build()
|
||||
];
|
||||
}
|
||||
return [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user