Skip to content

Commit 592ee1f

Browse files
committed
Fix missing getSeperator override
1 parent effc2f9 commit 592ee1f

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ parameters:
22
ignoreErrors:
33
- '#type has no value type specified in iterable type Predis\\Client#'
44
- '#with no value type specified in iterable type Predis\\Client#'
5-
- message: '#MacFJA\\RedisSearch\\Index\\Builder\\\w+ constructor expects [\w\|]+, bool\|float\|int\|string\|null given#'
5+
- message: '#MacFJA\\RediSearch\\Index\\Builder\\\w+ constructor expects [\w\|]+, bool\|float\|int\|string\|null given#'
66
path: src/Index/InfoResult.php

src/Index/Builder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242

4343
/**
4444
* @SuppressWarnings(PHPMD.TooManyFields) -- Builder Class
45+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects) -- Builder Class
4546
*/
4647
class Builder implements \MacFJA\RediSearch\Builder
4748
{

src/Index/Builder/TagField.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ public function getType(): string
4646
return self::TYPE_TAG;
4747
}
4848

49+
public function getSeparator(): ?string
50+
{
51+
return $this->separator;
52+
}
53+
4954
public function getQueryParts(): array
5055
{
5156
$query = parent::getQueryParts();

src/Search.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646

4747
/**
4848
* @SuppressWarnings(PHPMD.TooManyFields) -- Builder Class
49+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects) -- Builder Class
4950
*/
5051
class Search implements Builder
5152
{

0 commit comments

Comments
 (0)