Skip to content

Commit

Permalink
typos. fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
I-Valchev committed Aug 21, 2020
1 parent 2d33cd1 commit cb447a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Storage/SelectQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public function addFilter(Filter $filter): void
*
* @return Filter[]
*/
protected function getFilters(): array
public function getFilters(): array
{
return $this->filters;
}
Expand Down Expand Up @@ -332,7 +332,7 @@ public function __toString(): string
*
* @throws \Exception
*/
public function processFilters(): void
protected function processFilters(): void
{
$this->filters = [];

Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit cb447a3

Please sign in to comment.