Skip to content

Remove useless comments #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/Command/IndexCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

/**
* Class IndexCommand.
*/
abstract class IndexCommand extends Command
{
private string $prefix;
Expand Down
3 changes: 0 additions & 3 deletions src/Command/MeilisearchClearCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

/**
* Class MeilisearchClearCommand.
*/
final class MeilisearchClearCommand extends IndexCommand
{
public static function getDefaultName(): string
Expand Down
3 changes: 0 additions & 3 deletions src/Command/MeilisearchDeleteCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

/**
* Class MeilisearchDeleteCommand.
*/
final class MeilisearchDeleteCommand extends IndexCommand
{
public static function getDefaultName(): string
Expand Down
3 changes: 0 additions & 3 deletions src/Command/MeilisearchImportCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

/**
* Class MeilisearchImportCommand.
*/
final class MeilisearchImportCommand extends IndexCommand
{
private const DEFAULT_RESPONSE_TIMEOUT = 5000;
Expand Down
3 changes: 0 additions & 3 deletions src/DependencyInjection/MeilisearchExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
use Symfony\Component\DependencyInjection\Reference;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;

/**
* Class MeilisearchExtension.
*/
final class MeilisearchExtension extends Extension
{
public function load(array $configs, ContainerBuilder $container): void
Expand Down
3 changes: 0 additions & 3 deletions src/Document/Aggregator.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

use Meilisearch\Bundle\Model\Aggregator as BaseAggregator;

/**
* Class Aggregator.
*/
abstract class Aggregator extends BaseAggregator
{
}
5 changes: 1 addition & 4 deletions src/Engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
use Meilisearch\Client;
use Meilisearch\Exceptions\ApiException;

/**
* Class Engine.
*/
final class Engine
{
private Client $client;
Expand Down Expand Up @@ -104,7 +101,7 @@ public function remove($searchableEntities): array
/**
* Clear the records of an index.
* This method enables you to delete an index’s contents (records).
* Will fail if the index does not exists.
* Will fail if the index does not exist.
*
* @throws ApiException
*/
Expand Down
3 changes: 0 additions & 3 deletions src/Entity/Aggregator.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

use Meilisearch\Bundle\Model\Aggregator as BaseAggregator;

/**
* Class Aggregator.
*/
abstract class Aggregator extends BaseAggregator
{
}
3 changes: 0 additions & 3 deletions src/Exception/EntityNotFoundInObjectID.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

namespace Meilisearch\Bundle\Exception;

/**
* Class EntityNotFoundInObjectID.
*/
final class EntityNotFoundInObjectID extends \LogicException
{
}
3 changes: 0 additions & 3 deletions src/Exception/InvalidSettingName.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

namespace Meilisearch\Bundle\Exception;

/**
* Class InvalidSettingName.
*/
final class InvalidSettingName extends \LogicException
{
}
3 changes: 0 additions & 3 deletions src/Exception/ObjectIdNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

namespace Meilisearch\Bundle\Exception;

/**
* Class ObjectIdNotFoundException.
*/
final class ObjectIdNotFoundException extends \LogicException
{
}
3 changes: 0 additions & 3 deletions src/Exception/SearchHitsNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

namespace Meilisearch\Bundle\Exception;

/**
* Class SearchHitsNotFoundException.
*/
final class SearchHitsNotFoundException extends \LogicException
{
}
3 changes: 0 additions & 3 deletions src/Exception/TaskException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

namespace Meilisearch\Bundle\Exception;

/**
* Class TaskException.
*/
final class TaskException extends \LogicException
{
}
3 changes: 0 additions & 3 deletions src/MeilisearchBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

use Symfony\Component\HttpKernel\Bundle\Bundle;

/**
* Class MeilisearchBundle.
*/
final class MeilisearchBundle extends Bundle
{
public const VERSION = '0.13.0';
Expand Down
5 changes: 0 additions & 5 deletions src/Model/Aggregator.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
use Symfony\Component\Serializer\Normalizer\NormalizableInterface;
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;

/**
* Class Aggregator.
*/
abstract class Aggregator implements NormalizableInterface
{
/**
Expand All @@ -29,8 +26,6 @@ abstract class Aggregator implements NormalizableInterface
protected $entity;

/**
* Aggregator constructor.
*
* @param object $entity
*/
public function __construct($entity, array $entityIdentifierValues)
Expand Down
3 changes: 0 additions & 3 deletions src/SearchService.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

use Doctrine\Persistence\ObjectManager;

/**
* Interface SearchService.
*/
interface SearchService
{
public const RESULT_KEY_HITS = 'hits';
Expand Down
3 changes: 0 additions & 3 deletions src/Searchable.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

namespace Meilisearch\Bundle;

/**
* Class Searchable.
*/
final class Searchable
{
public const NORMALIZATION_FORMAT = 'searchableArray';
Expand Down
5 changes: 0 additions & 5 deletions src/SearchableEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
use Symfony\Component\Serializer\Normalizer\NormalizableInterface;
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;

/**
* Class SearchableEntity.
*/
final class SearchableEntity
{
private string $indexUid;
Expand All @@ -34,8 +31,6 @@ final class SearchableEntity
private $id;

/**
* SearchableEntity constructor.
*
* @param object $entity
* @param ClassMetadata<object> $entityMetadata
*/
Expand Down
3 changes: 0 additions & 3 deletions src/Services/MeilisearchService.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
use Symfony\Component\PropertyAccess\PropertyAccessor;
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;

/**
* Class MeilisearchService.
*/
final class MeilisearchService implements SearchService
{
private NormalizerInterface $normalizer;
Expand Down