PHPLIB-1378 Replace example printfs with a callable #2585
Annotations
6 errors
MissingClosureParamType:
examples/command_logger.php#L51
examples/command_logger.php:51:27: MissingClosureParamType: Parameter $event has no provided type (see https://psalm.dev/153)
|
MissingClosureParamType:
examples/sdam_logger.php#L90
examples/sdam_logger.php:90:27: MissingClosureParamType: Parameter $event has no provided type (see https://psalm.dev/153)
|
ImplicitToStringCast:
examples/sdam_logger.php#L109
examples/sdam_logger.php:109:17: ImplicitToStringCast: Argument 4 of printf expects float|int|string, but MongoDB\BSON\ObjectId provided with a __toString method (see https://psalm.dev/060)
|
ImplicitToStringCast:
examples/sdam_logger.php#L146
examples/sdam_logger.php:146:17: ImplicitToStringCast: Argument 4 of printf expects float|int|string, but MongoDB\BSON\ObjectId provided with a __toString method (see https://psalm.dev/060)
|
ImplicitToStringCast:
examples/sdam_logger.php#L161
examples/sdam_logger.php:161:56: ImplicitToStringCast: Argument 2 of printf expects float|int|string, but MongoDB\BSON\ObjectId provided with a __toString method (see https://psalm.dev/060)
|
Psalm
Process completed with exit code 2.
|