Skip to content

Commit

Permalink
return types
Browse files Browse the repository at this point in the history
  • Loading branch information
npotier committed Nov 5, 2021
1 parent b18f517 commit 8af1546
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder()
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder('acseo_typesense');

Expand Down
2 changes: 0 additions & 2 deletions src/Finder/TypesenseQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ public function filterBy(string $filterBy): self

/**
* 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.
*
* @return selft
*/
public function sortBy(string $sortBy): self
{
Expand Down
2 changes: 1 addition & 1 deletion src/Transformer/AbstractTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8af1546

Please sign in to comment.