Skip to content

Update SearchFilterInterface.php #6066

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
Dec 23, 2023
Merged
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
8 changes: 4 additions & 4 deletions src/Doctrine/Common/Filter/SearchFilterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ interface SearchFilterInterface
/**
* @var string The value must be contained in the field case-insensitive
*/
public const STRATEGY_IPARTIAL = 'partial';
public const STRATEGY_IPARTIAL = 'ipartial';

/**
* @var string Finds fields that are starting with the value
Expand All @@ -49,7 +49,7 @@ interface SearchFilterInterface
/**
* @var string Finds fields that are starting with the value case-insensitive
*/
public const STRATEGY_ISTART = 'start';
public const STRATEGY_ISTART = 'istart';

/**
* @var string Finds fields that are ending with the value
Expand All @@ -59,7 +59,7 @@ interface SearchFilterInterface
/**
* @var string Finds fields that are ending with the value case-insensitive
*/
public const STRATEGY_IEND = 'end';
public const STRATEGY_IEND = 'iend';

/**
* @var string Finds fields that are starting with the word
Expand All @@ -69,5 +69,5 @@ interface SearchFilterInterface
/**
* @var string Finds fields that are starting with the word case-insensitive
*/
public const STRATEGY_IWORD_START = 'word_start';
public const STRATEGY_IWORD_START = 'iword_start';
}