Skip to content
Snippets Groups Projects

Resolve #3438428 "Automated drupal 11"

1 unresolved thread
Files
10
@@ -112,7 +112,7 @@ abstract class InlineEntityFormBase extends WidgetBase implements ContainerFacto
/**
* {@inheritdoc}
*/
public function __sleep() {
public function __sleep(): array {
$keys = array_diff(parent::__sleep(), ['inlineFormHandler']);
return $keys;
}
@@ -120,7 +120,7 @@ abstract class InlineEntityFormBase extends WidgetBase implements ContainerFacto
/**
* {@inheritdoc}
*/
public function __wakeup() {
public function __wakeup(): void {
parent::__wakeup();
$this->createInlineFormHandler();
}
Loading