Skip to content

Commit 800508d

Browse files
committed
Component::getParam() triggers deprecation warning (BC break)
1 parent 29602ef commit 800508d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Application/UI/Component.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public function getParameterId(string $name): string
216216
/** @deprecated */
217217
function getParam($name = NULL, $default = NULL)
218218
{
219-
//trigger_error(__METHOD__ . '() is deprecated; use getParameter() instead.', E_USER_DEPRECATED);
219+
trigger_error(__METHOD__ . '() is deprecated; use getParameter() or getParameters() instead.', E_USER_DEPRECATED);
220220
return func_num_args() ? $this->getParameter($name, $default) : $this->getParameters();
221221
}
222222

0 commit comments

Comments
 (0)