Skip to content
Snippets Groups Projects

Issue #3498310: Fix PHP 8.4 deprecations.

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -111,7 +111,7 @@ abstract class WrapperEntityBase extends ConfigEntityBase implements EntityWithP
@@ -111,7 +111,7 @@ abstract class WrapperEntityBase extends ConfigEntityBase implements EntityWithP
/**
/**
* {@inheritdoc}
* {@inheritdoc}
*/
*/
public function access($operation, AccountInterface $account = NULL, $return_as_object = FALSE) {
public function access($operation, ?AccountInterface $account = NULL, $return_as_object = FALSE) {
if ($operation == "update" || $operation == "delete") {
if ($operation == "update" || $operation == "delete") {
$info = $this->getPluginDefinition();
$info = $this->getPluginDefinition();
if (!empty($info['locked'])) {
if (!empty($info['locked'])) {
Loading