Skip to content

Commit d87084a

Browse files
committed
docs(readme): fix converter example signature
1 parent 216a89f commit d87084a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ use SimPod\ClickHouseClient\Param\ParamValueConverterRegistry;
314314
use DateTimeInterface;
315315
316316
$paramValueConverterRegistry = new ParamValueConverterRegistry([
317-
'datetime' => static fn (mixed $v) => $v instanceof DateTimeInterface
317+
'datetime' => static fn (mixed $v, mixed ...$unused) => $v instanceof DateTimeInterface
318318
? $v->format('c')
319319
: throw UnsupportedParamValue::type($v),
320320
]);

0 commit comments

Comments
 (0)