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 a7e614e commit 0ce3464Copy full SHA for 0ce3464
src/Application/UI/Component.php
@@ -193,6 +193,7 @@ public function saveState(array &$params): void
193
final public function getParameter(string $name): mixed
194
{
195
if (func_num_args() > 1) {
196
+ trigger_error(__METHOD__ . '() parameter $default is deprecated, use operator ??', E_USER_DEPRECATED);
197
$default = func_get_arg(1);
198
}
199
return $this->params[$name] ?? $default ?? null;
0 commit comments