We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96b0c54 commit 03caf3dCopy full SHA for 03caf3d
lib/HTML/QuickForm/RuleRegistry.php
@@ -63,7 +63,7 @@ public static function &singleton()
63
*/
64
public function registerRule($ruleName, $type, $data1, $data2 = null)
65
{
66
- $type = strtolower($type);
+ $type = strtolower((string) $type);
67
if ($type == 'regex') {
68
// Regular expression
69
$rule =& $this->getRule('regex');
0 commit comments