Skip to content

Commit 645c469

Browse files
committed
Put match back in but renamed the class not the function
1 parent 84a6e37 commit 645c469

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

rdb/Queries/Math/Equal.php renamed to rdb/Queries/Math/Match.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use r\ValuedQuery\ValuedQuery;
66
use r\ProtocolBuffer\TermTermType;
77

8-
class Equal extends ValuedQuery
8+
class RqlMatch extends ValuedQuery
99
{
1010
public function __construct(ValuedQuery $value, $expression)
1111
{

rdb/ValuedQuery/ValuedQuery.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
use r\Queries\Math\Gt;
7575
use r\Queries\Math\Le;
7676
use r\Queries\Math\Lt;
77-
use r\Queries\Math\Equal;
77+
use r\Queries\Math\Match;
7878
use r\Queries\Math\Mod;
7979
use r\Queries\Math\Mul;
8080
use r\Queries\Math\Ne;
@@ -373,9 +373,9 @@ public function not()
373373
{
374374
return new Not($this);
375375
}
376-
public function equal($expression)
376+
public function match($expression)
377377
{
378-
return new Equal($this, $expression);
378+
return new RqlMatch($this, $expression);
379379
}
380380
public function upcase()
381381
{

0 commit comments

Comments
 (0)