From ac10f2009d4439bbfaf4cccc07e6e9e043b6028b Mon Sep 17 00:00:00 2001 From: Pierre Date: Thu, 4 Nov 2021 09:33:24 +0100 Subject: [PATCH] Remove void return type It could be `mixed` be only from php 8.0. --- src/Transformer/AbstractTransformer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Transformer/AbstractTransformer.php b/src/Transformer/AbstractTransformer.php index ed0b753..56c8244 100644 --- a/src/Transformer/AbstractTransformer.php +++ b/src/Transformer/AbstractTransformer.php @@ -31,7 +31,7 @@ abstract public function convert(object $entity): array; * @param string $properyName the property of the object * @param [type] $value the value to convert */ - abstract public function castValue(string $objectClass, string $properyName, $value): void; + abstract public function castValue(string $objectClass, string $properyName, $value); /** * map a type to a typesense type field.