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 1c92d66 commit 0abf138Copy full SHA for 0abf138
src/network/mcpe/handler/LoginPacketHandler.php
@@ -341,7 +341,7 @@ private function defaultJsonMapper(string $logContext) : \JsonMapper{
341
/**
342
* @phpstan-return \Closure(object, string, mixed) : void
343
*/
344
- protected function warnUndefinedJsonPropertyHandler(string $context) : \Closure{
+ private function warnUndefinedJsonPropertyHandler(string $context) : \Closure{
345
return fn(object $object, string $name, mixed $value) => $this->session->getLogger()->warning(
346
"$context: Unexpected JSON property for " . (new \ReflectionClass($object))->getShortName() . ": " . $name . " = " . var_export($value, return: true)
347
);
0 commit comments