Skip to content

Commit 8af1546

Browse files
committed
return types
1 parent b18f517 commit 8af1546

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class Configuration implements ConfigurationInterface
1111
{
12-
public function getConfigTreeBuilder()
12+
public function getConfigTreeBuilder(): TreeBuilder
1313
{
1414
$treeBuilder = new TreeBuilder('acseo_typesense');
1515

src/Finder/TypesenseQuery.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ public function filterBy(string $filterBy): self
5959

6060
/**
6161
* A list of numerical fields and their corresponding sort orders that will be used for ordering your results. Separate multiple fields with a comma. Upto 3 sort fields can be specified.
62-
*
63-
* @return selft
6462
*/
6563
public function sortBy(string $sortBy): self
6664
{

src/Transformer/AbstractTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ abstract public function convert(object $entity): array;
3131
* @param string $properyName the property of the object
3232
* @param [type] $value the value to convert
3333
*/
34-
abstract public function castValue(string $objectClass, string $properyName, $value): void;
34+
abstract public function castValue(string $objectClass, string $properyName, $value);
3535

3636
/**
3737
* map a type to a typesense type field.

0 commit comments

Comments
 (0)