Skip to content

Commit 03caf3d

Browse files
committed
Fix php81 deprecation notice
1 parent 96b0c54 commit 03caf3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/HTML/QuickForm/RuleRegistry.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static function &singleton()
6363
*/
6464
public function registerRule($ruleName, $type, $data1, $data2 = null)
6565
{
66-
$type = strtolower($type);
66+
$type = strtolower((string) $type);
6767
if ($type == 'regex') {
6868
// Regular expression
6969
$rule =& $this->getRule('regex');

0 commit comments

Comments
 (0)