Fix code quality with rector [skip ci]

This commit is contained in:
James Cole
2025-11-09 09:08:03 +01:00
parent d2610be790
commit 68183a0a0e
209 changed files with 1021 additions and 1248 deletions

View File

@@ -36,30 +36,20 @@ use function Safe\json_encode;
*/
class AccountSearch implements GenericSearchInterface
{
/** @var string */
public const string SEARCH_ALL = 'all';
/** @var string */
public const string SEARCH_IBAN = 'iban';
/** @var string */
public const string SEARCH_ID = 'id';
/** @var string */
public const string SEARCH_NAME = 'name';
/** @var string */
public const string SEARCH_NUMBER = 'number';
private string $field;
private string $query;
private array $types;
private array $types = [];
private User $user;
public function __construct()
{
$this->types = [];
}
public function search(): Collection
{
$searchQuery = $this->user->accounts()