Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukmzig authored and github-actions[bot] committed Jan 15, 2025
1 parent 05de941 commit b47c4fb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
1 change: 1 addition & 0 deletions src/Exception/Api/SearchException.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

use Pimcore\Bundle\StudioBackendBundle\Util\Constant\HttpResponseCodes;
use Throwable;
use function sprintf;

/**
* @internal
Expand Down
4 changes: 1 addition & 3 deletions src/Search/MappedParameter/SimpleSearchParameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* @license http://www.pimcore.org/license GPLv3 and PCL
*/


namespace Pimcore\Bundle\StudioBackendBundle\Search\MappedParameter;

use Pimcore\Bundle\StudioBackendBundle\MappedParameter\CollectionParameters;
Expand All @@ -36,5 +35,4 @@ public function getSearchTerm(): ?string
{
return $this->searchTerm;
}

}
}
6 changes: 2 additions & 4 deletions src/Search/Repository/SearchRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* @license http://www.pimcore.org/license GPLv3 and PCL
*/


namespace Pimcore\Bundle\StudioBackendBundle\Search\Repository;

use Pimcore\Bundle\GenericDataIndexBundle\Enum\Search\SortDirection;
Expand All @@ -39,8 +38,7 @@ public function __construct(
private ElementSearchServiceInterface $elementSearchService,
private SearchProviderInterface $searchProvider,
private SecurityServiceInterface $securityService
)
{
) {
}

/**
Expand All @@ -66,4 +64,4 @@ public function searchElements(SimpleSearchParameter $parameter): ElementSearchR
throw new SearchException('elements', $exception);
}
}
}
}
1 change: 1 addition & 0 deletions src/Search/Repository/SearchRepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
use Pimcore\Bundle\StudioBackendBundle\Exception\Api\SearchException;
use Pimcore\Bundle\StudioBackendBundle\Exception\Api\UserNotFoundException;
use Pimcore\Bundle\StudioBackendBundle\Search\MappedParameter\SimpleSearchParameter;

/**
* @internal
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Search/Schema/SimpleSearchResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __construct(
private readonly string $path,
#[Property(description: 'icon', type: ElementIcon::class)]
private readonly ElementIcon $icon,

) {

}
Expand Down
1 change: 0 additions & 1 deletion src/Search/Service/SearchServiceInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

namespace Pimcore\Bundle\StudioBackendBundle\Search\Service;

use Pimcore\Bundle\StudioBackendBundle\Exception\Api\NotFoundException;
use Pimcore\Bundle\StudioBackendBundle\Exception\Api\SearchException;
use Pimcore\Bundle\StudioBackendBundle\Exception\Api\UserNotFoundException;
use Pimcore\Bundle\StudioBackendBundle\Response\Collection;
Expand Down

0 comments on commit b47c4fb

Please sign in to comment.