We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7142d50 commit 9288036Copy full SHA for 9288036
src/Application/UI/Component.php
@@ -196,6 +196,7 @@ public function saveState(array &$params): void
196
final public function getParameter(string $name): mixed
197
{
198
if (func_num_args() > 1) {
199
+ trigger_error(__METHOD__ . '() parameter $default is deprecated, use operator ??', E_USER_DEPRECATED);
200
$default = func_get_arg(1);
201
}
202
return $this->params[$name] ?? $default ?? null;
0 commit comments