Skip to content

Commit 0abf138

Browse files
committed
Private internal function
1 parent 1c92d66 commit 0abf138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/network/mcpe/handler/LoginPacketHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ private function defaultJsonMapper(string $logContext) : \JsonMapper{
341341
/**
342342
* @phpstan-return \Closure(object, string, mixed) : void
343343
*/
344-
protected function warnUndefinedJsonPropertyHandler(string $context) : \Closure{
344+
private function warnUndefinedJsonPropertyHandler(string $context) : \Closure{
345345
return fn(object $object, string $name, mixed $value) => $this->session->getLogger()->warning(
346346
"$context: Unexpected JSON property for " . (new \ReflectionClass($object))->getShortName() . ": " . $name . " = " . var_export($value, return: true)
347347
);

0 commit comments

Comments
 (0)