Skip to content

Commit bfa2838

Browse files
committed
Remove useless comments
1 parent 291d5ad commit bfa2838

19 files changed

+1
-62
lines changed

src/Command/IndexCommand.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
use Symfony\Component\Console\Input\InputInterface;
1111
use Symfony\Component\Console\Output\OutputInterface;
1212

13-
/**
14-
* Class IndexCommand.
15-
*/
1613
abstract class IndexCommand extends Command
1714
{
1815
private string $prefix;

src/Command/MeilisearchClearCommand.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
use Symfony\Component\Console\Input\InputOption;
99
use Symfony\Component\Console\Output\OutputInterface;
1010

11-
/**
12-
* Class MeilisearchClearCommand.
13-
*/
1411
final class MeilisearchClearCommand extends IndexCommand
1512
{
1613
public static function getDefaultName(): string

src/Command/MeilisearchDeleteCommand.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
use Symfony\Component\Console\Input\InputOption;
1111
use Symfony\Component\Console\Output\OutputInterface;
1212

13-
/**
14-
* Class MeilisearchDeleteCommand.
15-
*/
1613
final class MeilisearchDeleteCommand extends IndexCommand
1714
{
1815
public static function getDefaultName(): string

src/Command/MeilisearchImportCommand.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
use Symfony\Component\Console\Input\InputOption;
1818
use Symfony\Component\Console\Output\OutputInterface;
1919

20-
/**
21-
* Class MeilisearchImportCommand.
22-
*/
2320
final class MeilisearchImportCommand extends IndexCommand
2421
{
2522
private const DEFAULT_RESPONSE_TIMEOUT = 5000;

src/DependencyInjection/MeilisearchExtension.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
use Symfony\Component\DependencyInjection\Reference;
1515
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
1616

17-
/**
18-
* Class MeilisearchExtension.
19-
*/
2017
final class MeilisearchExtension extends Extension
2118
{
2219
public function load(array $configs, ContainerBuilder $container): void

src/Document/Aggregator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
use Meilisearch\Bundle\Model\Aggregator as BaseAggregator;
88

9-
/**
10-
* Class Aggregator.
11-
*/
129
abstract class Aggregator extends BaseAggregator
1310
{
1411
}

src/Engine.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
use Meilisearch\Client;
88
use Meilisearch\Exceptions\ApiException;
99

10-
/**
11-
* Class Engine.
12-
*/
1310
final class Engine
1411
{
1512
private Client $client;
@@ -104,7 +101,7 @@ public function remove($searchableEntities): array
104101
/**
105102
* Clear the records of an index.
106103
* This method enables you to delete an index’s contents (records).
107-
* Will fail if the index does not exists.
104+
* Will fail if the index does not exist.
108105
*
109106
* @throws ApiException
110107
*/

src/Entity/Aggregator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
use Meilisearch\Bundle\Model\Aggregator as BaseAggregator;
88

9-
/**
10-
* Class Aggregator.
11-
*/
129
abstract class Aggregator extends BaseAggregator
1310
{
1411
}

src/Exception/EntityNotFoundInObjectID.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
namespace Meilisearch\Bundle\Exception;
66

7-
/**
8-
* Class EntityNotFoundInObjectID.
9-
*/
107
final class EntityNotFoundInObjectID extends \LogicException
118
{
129
}

src/Exception/InvalidSettingName.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
namespace Meilisearch\Bundle\Exception;
66

7-
/**
8-
* Class InvalidSettingName.
9-
*/
107
final class InvalidSettingName extends \LogicException
118
{
129
}

src/Exception/ObjectIdNotFoundException.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
namespace Meilisearch\Bundle\Exception;
66

7-
/**
8-
* Class ObjectIdNotFoundException.
9-
*/
107
final class ObjectIdNotFoundException extends \LogicException
118
{
129
}

src/Exception/SearchHitsNotFoundException.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
namespace Meilisearch\Bundle\Exception;
66

7-
/**
8-
* Class SearchHitsNotFoundException.
9-
*/
107
final class SearchHitsNotFoundException extends \LogicException
118
{
129
}

src/Exception/TaskException.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
namespace Meilisearch\Bundle\Exception;
66

7-
/**
8-
* Class TaskException.
9-
*/
107
final class TaskException extends \LogicException
118
{
129
}

src/MeilisearchBundle.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
use Symfony\Component\HttpKernel\Bundle\Bundle;
88

9-
/**
10-
* Class MeilisearchBundle.
11-
*/
129
final class MeilisearchBundle extends Bundle
1310
{
1411
public const VERSION = '0.13.0';

src/Model/Aggregator.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
use Symfony\Component\Serializer\Normalizer\NormalizableInterface;
1010
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
1111

12-
/**
13-
* Class Aggregator.
14-
*/
1512
abstract class Aggregator implements NormalizableInterface
1613
{
1714
/**
@@ -29,8 +26,6 @@ abstract class Aggregator implements NormalizableInterface
2926
protected $entity;
3027

3128
/**
32-
* Aggregator constructor.
33-
*
3429
* @param object $entity
3530
*/
3631
public function __construct($entity, array $entityIdentifierValues)

src/SearchService.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
use Doctrine\Persistence\ObjectManager;
88

9-
/**
10-
* Interface SearchService.
11-
*/
129
interface SearchService
1310
{
1411
public const RESULT_KEY_HITS = 'hits';

src/Searchable.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
namespace Meilisearch\Bundle;
66

7-
/**
8-
* Class Searchable.
9-
*/
107
final class Searchable
118
{
129
public const NORMALIZATION_FORMAT = 'searchableArray';

src/SearchableEntity.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
use Symfony\Component\Serializer\Normalizer\NormalizableInterface;
1111
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
1212

13-
/**
14-
* Class SearchableEntity.
15-
*/
1613
final class SearchableEntity
1714
{
1815
private string $indexUid;
@@ -34,8 +31,6 @@ final class SearchableEntity
3431
private $id;
3532

3633
/**
37-
* SearchableEntity constructor.
38-
*
3934
* @param object $entity
4035
* @param ClassMetadata<object> $entityMetadata
4136
*/

src/Services/MeilisearchService.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
use Symfony\Component\PropertyAccess\PropertyAccessor;
1919
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
2020

21-
/**
22-
* Class MeilisearchService.
23-
*/
2421
final class MeilisearchService implements SearchService
2522
{
2623
private NormalizerInterface $normalizer;

0 commit comments

Comments
 (0)