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 62eba25 commit f10373aCopy full SHA for f10373a
1 file changed
src/Application/UI/Component.php
@@ -234,6 +234,7 @@ public function saveStatePartial(array &$params, ComponentReflection $reflection
234
final public function getParameter(string $name): mixed
235
{
236
if (func_num_args() > 1) {
237
+ trigger_error(__METHOD__ . '() parameter $default is deprecated, use operator ??', E_USER_DEPRECATED);
238
$default = func_get_arg(1);
239
}
240
return $this->params[$name] ?? $default ?? null;
0 commit comments