Skip to content

Commit 9ef43e0

Browse files
committed
Remove useless constructor comment
1 parent 842f7da commit 9ef43e0

21 files changed

+0
-51
lines changed

src/Aggregate.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ class Aggregate implements Builder
7373
/** @var null|string */
7474
private $filter;
7575

76-
/**
77-
* Aggregate constructor.
78-
*/
7976
public function __construct(Client $redis)
8077
{
8178
$this->redis = $redis;

src/Aggregate/Exception/UnknownSortDirectionException.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
class UnknownSortDirectionException extends UnexpectedValueException
3030
{
3131
/**
32-
* UnknownSortDirectionException constructor.
33-
*
3432
* @param array<string> $directions
3533
*/
3634
public function __construct(array $directions, int $code = 0, ?Throwable $previous = null)

src/Aggregate/GroupBy.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ class GroupBy implements PartialQuery
3838
private $reducers = [];
3939

4040
/**
41-
* GroupBy constructor.
42-
*
4341
* @param array<string> $properties
4442
* @param array<Reducer> $reducers
4543
*

src/Aggregate/Reducer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ class Reducer implements PartialQuery
3939
private $name;
4040

4141
/**
42-
* Reducer constructor.
43-
*
4442
* @param array<float|int|string> $arguments
4543
*
4644
* @throws Throwable

src/Aggregate/Result.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ class Result
3030
private $fields = [];
3131

3232
/**
33-
* Result constructor.
34-
*
3533
* @param array<string,null|float|int|string> $fields
3634
*
3735
* @throws Throwable

src/Aggregate/SortBy.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ class SortBy implements \MacFJA\RediSearch\PartialQuery
5050
private $max;
5151

5252
/**
53-
* SortBy constructor.
54-
*
5553
* @psalm-param array<string,"ASC"|"DESC"> $properties
5654
* @phpstab-param array<string,"ASC"|"DESC"> $properties
5755
*

src/Index.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ class Index
4343
/** @var Client */
4444
private $redis;
4545

46-
/**
47-
* Index constructor.
48-
*/
4946
public function __construct(string $indexKey, Client $redis)
5047
{
5148
$this->indexKey = $indexKey;

src/Index/Builder.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,6 @@ class Builder implements \MacFJA\RediSearch\Builder
114114
/** @var bool */
115115
private $skipInitialScan = false;
116116

117-
/**
118-
* Builder constructor.
119-
*/
120117
public function __construct(Client $redis)
121118
{
122119
$this->redis = $redis;

src/Index/Builder/TextField.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ class TextField extends AbstractField
3434
/** @var null|string */
3535
private $phonetic;
3636

37-
/**
38-
* TextField constructor.
39-
*/
4037
public function __construct(string $name, bool $noStem = false, ?float $weight = null, ?string $phonetic = null, bool $sortable = false, bool $noIndex = false)
4138
{
4239
parent::__construct($name, $sortable, $noIndex);

src/Index/InfoResult.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ class InfoResult
8181
private $stopWords;
8282

8383
/**
84-
* InfoResult constructor.
85-
*
8684
* @param array<string> $indexOptions
8785
* @param array<array<string>|string> $definition
8886
* @param array<mixed> $fields

0 commit comments

Comments
 (0)