From 54c34c0fd3c4a31a9ced37fb7714025d1af0c1dc Mon Sep 17 00:00:00 2001 From: martineiber Date: Wed, 18 Sep 2024 08:25:36 +0000 Subject: [PATCH] Apply php-cs-fixer changes --- src/DataIndex/Filter/NoDependenciesFilter.php | 2 +- src/DataIndex/Query/AssetQuery.php | 2 +- src/Grid/Column/ColumnType.php | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/DataIndex/Filter/NoDependenciesFilter.php b/src/DataIndex/Filter/NoDependenciesFilter.php index ed9f7dce..1c4316f2 100644 --- a/src/DataIndex/Filter/NoDependenciesFilter.php +++ b/src/DataIndex/Filter/NoDependenciesFilter.php @@ -20,7 +20,7 @@ use Pimcore\Bundle\StudioBackendBundle\Exception\Api\InvalidArgumentException; use Pimcore\Bundle\StudioBackendBundle\Grid\Column\ColumnType; use Pimcore\Bundle\StudioBackendBundle\MappedParameter\Filter\ColumnFiltersParameterInterface; -use Pimcore\Bundle\StudioBackendBundle\MappedParameter\Filter\TagFilterParameterInterface; +use function is_bool; /** * @internal diff --git a/src/DataIndex/Query/AssetQuery.php b/src/DataIndex/Query/AssetQuery.php index 6c1c03fc..754f9139 100644 --- a/src/DataIndex/Query/AssetQuery.php +++ b/src/DataIndex/Query/AssetQuery.php @@ -160,7 +160,7 @@ public function filterTags(array $tags, bool $considerChildTags): self public function filterNoDependencies(): self { - $this->search->addModifier(new NoDependenciesFilter()); + $this->search->addModifier(new NoDependenciesFilter()); return $this; } diff --git a/src/Grid/Column/ColumnType.php b/src/Grid/Column/ColumnType.php index 678cd4a4..411fde95 100644 --- a/src/Grid/Column/ColumnType.php +++ b/src/Grid/Column/ColumnType.php @@ -26,7 +26,6 @@ enum ColumnType: string case SYSTEM_INTEGER = 'system.integer'; case SYSTEM_DATETIME = 'system.datetime'; case SYSTEM_TAG = 'system.tag'; - case SYSTEM_UNREFERENCED_DEPENDENCIES = 'system.unreferencedDependencies'; case METADATA_SELECT = 'metadata.select'; case METADATA_INPUT = 'metadata.input';