Skip to content

Commit 741dc53

Browse files
committed
Update ezFunctions.php
Uppercased right expression for type consistency specific to these methods in `isNull` and `isNotNull`
1 parent e8ecbdc commit 741dc53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ezFunctions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ function gte($x, $y, $and = null, ...$args)
353353
*
354354
* @return array
355355
*/
356-
function isNull($x, $y = 'null', $and = null, ...$args)
356+
function isNull($x, $y = 'NULL', $and = null, ...$args)
357357
{
358358
$expression = array();
359359
\array_push($expression, $x, \_isNULL, $y, $and, ...$args);
@@ -370,7 +370,7 @@ function isNull($x, $y = 'null', $and = null, ...$args)
370370
*
371371
* @return array
372372
*/
373-
function isNotNull($x, $y = 'null', $and = null, ...$args)
373+
function isNotNull($x, $y = 'NULL', $and = null, ...$args)
374374
{
375375
$expression = array();
376376
\array_push($expression, $x, \_notNULL, $y, $and, ...$args);

0 commit comments

Comments
 (0)