Document the new parameter

parent ccf6817d
...@@ -257,7 +257,7 @@ class ExpressionBuilder ...@@ -257,7 +257,7 @@ class ExpressionBuilder
* *
* @return string * @return string
*/ */
public function like($x, $y) public function like($x, $y/*, ?string $escapeChar = null */)
{ {
return $this->comparison($x, 'LIKE', $y) . return $this->comparison($x, 'LIKE', $y) .
(func_num_args() >= 3 ? sprintf(" ESCAPE '%s'", func_get_arg(2)) : ''); (func_num_args() >= 3 ? sprintf(" ESCAPE '%s'", func_get_arg(2)) : '');
...@@ -271,7 +271,7 @@ class ExpressionBuilder ...@@ -271,7 +271,7 @@ class ExpressionBuilder
* *
* @return string * @return string
*/ */
public function notLike($x, $y) public function notLike($x, $y/*, ?string $escapeChar = null */)
{ {
return $this->comparison($x, 'NOT LIKE', $y) . return $this->comparison($x, 'NOT LIKE', $y) .
(func_num_args() >= 3 ? sprintf(" ESCAPE '%s'", func_get_arg(2)) : ''); (func_num_args() >= 3 ? sprintf(" ESCAPE '%s'", func_get_arg(2)) : '');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment