summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a398341)
Change-Id: I5e6521e30384f46575573647b24217d4301fcd59
* for the level 4 operators, since they return boolean and don't accept
* boolean inputs.
*/
* for the level 4 operators, since they return boolean and don't accept
* boolean inputs.
*/
- static $precedence = array(
+ private static $precedence = array(
'or' => 2,
'and' => 3,
'is' => 4,
'or' => 2,
'and' => 3,
'is' => 4,
- static $opTypes = array(
+ private static $opTypes = array(
'or' => 'bbb',
'and' => 'bbb',
'is' => 'nnb',
'or' => 'bbb',
'and' => 'bbb',
'is' => 'nnb',
- static $typeSpecMap = array(
+ private static $typeSpecMap = array(
'b' => 'boolean',
'n' => 'number',
'r' => 'range',
'b' => 'boolean',
'n' => 'number',
'r' => 'range',
/**
* Map for converting the new operators introduced in Rev 33 to the old forms
*/
/**
* Map for converting the new operators introduced in Rev 33 to the old forms
*/
- static $aliasMap = array(
+ private static $aliasMap = array(
'%' => 'mod',
'!=' => 'not-in',
'=' => 'in'
'%' => 'mod',
'!=' => 'not-in',
'=' => 'in'
* Determine if the given number is inside the range.
*
* @param int $number The number to check
* Determine if the given number is inside the range.
*
* @param int $number The number to check
- * @param bool $integerConstraint If true, also asserts the number is an integer; otherwise, number simply has to be inside the range.
+ * @param bool $integerConstraint If true, also asserts the number is an integer;
+ * otherwise, number simply has to be inside the range.
* @return bool True if the number is inside the range; otherwise, false.
*/
function isNumberIn( $number, $integerConstraint = true ) {
* @return bool True if the number is inside the range; otherwise, false.
*/
function isNumberIn( $number, $integerConstraint = true ) {