From cb447a3fa30da8c685a0e2140ec2c0bb6e1fd685 Mon Sep 17 00:00:00 2001 From: Ivo Valchev Date: Fri, 21 Aug 2020 15:55:31 +0200 Subject: [PATCH] typos. fixes --- src/Storage/SelectQuery.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Storage/SelectQuery.php b/src/Storage/SelectQuery.php index bd6bb2102..261484a17 100644 --- a/src/Storage/SelectQuery.php +++ b/src/Storage/SelectQuery.php @@ -246,7 +246,7 @@ public function addFilter(Filter $filter): void * * @return Filter[] */ - protected function getFilters(): array + public function getFilters(): array { return $this->filters; } @@ -332,7 +332,7 @@ public function __toString(): string * * @throws \Exception */ - public function processFilters(): void + protected function processFilters(): void { $this->filters = []; @@ -496,7 +496,7 @@ private function getRegularFieldExpression(Filter $filter, EntityManager $em): s $valueWhere = str_replace($originalLeftExpression, $newLeftExpression, $valueWhere); $expr->add($valueWhere); - // where clause for thh name of the field + // where clause for the name of the field if (! in_array($filter->getKey(), ['anyField', $this->anything], true)) { // Add to DQL where clause $nameAlias = sprintf('fields_%s.name', $filter->getKey());