Skip to content

Commit

Permalink
#328 - Replace self with this in Filter tag lib.
Browse files Browse the repository at this point in the history
  • Loading branch information
maraf committed May 6, 2021
1 parent 09b1562 commit 21c4ce5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/scripts/php/libs/Filter.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ private function joiner($template, $joiner) {
}

public function operatorAnd($template) {
self::joiner($template, "AND");
$this->joiner($template, "AND");
}

public function operatorOr($template) {
self::joiner($template, "OR");
$this->joiner($template, "OR");
}

public function exists($template, $from, $alias, $outerColumn, $innerColumn) {
Expand Down Expand Up @@ -173,11 +173,11 @@ private function greateOrLower($name, $than, $orEqual, $operator) {
}

public function greater($name, $than, $orEqual = false) {
self::greateOrLower($name, $than, $orEqual, ">");
$this->greateOrLower($name, $than, $orEqual, ">");
}

public function lower($name, $than, $orEqual = false) {
self::greateOrLower($name, $than, $orEqual, "<");
$this->greateOrLower($name, $than, $orEqual, "<");
}

public function getProperty($name) {
Expand Down

0 comments on commit 21c4ce5

Please sign in to comment.