Skip to content

Commit 5bc5192

Browse files
committed
Remove unused code
1 parent 45fe5e5 commit 5bc5192

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/Mooc/Shared/Infrastructure/Doctrine/DbalTypesSearcher.php

-5
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ private static function isExistingDbalPath(): callable
4646
return static fn(string $path) => !empty($path);
4747
}
4848

49-
private static function namespaceFormatter($baseNamespace): callable
50-
{
51-
return static fn(string $path, string $module) => "$baseNamespace\\$module\Domain";
52-
}
53-
5449
private static function dbalClassesSearcher(string $contextName): callable
5550
{
5651
return static function (array $totalNamespaces, string $path) use ($contextName) {

src/Shared/Infrastructure/Persistence/Elasticsearch/ElasticsearchCriteriaConverter.php

-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ public function convert(Criteria $criteria): array
2323
private function formatQuery(Criteria $criteria): array
2424
{
2525
if ($criteria->hasFilters()) {
26-
$multipleFilters = 1 < $criteria->filters()->count();
27-
2826
return [
2927
'query' => [
3028
'bool' => reduce(new ElasticQueryGenerator(), $criteria->filters(), []),

0 commit comments

Comments
 (0)