From 1912d4e3ecaa9325fed0433671031d6357691f01 Mon Sep 17 00:00:00 2001
From: koustav_mondal <koustav.mondal@innoraft.com>
Date: Mon, 13 Jan 2025 17:57:49 +0530
Subject: [PATCH] Issue #3498310: Fix PHP 8.4 deprecations.

---
 src/Entity/WrapperEntityBase.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Entity/WrapperEntityBase.php b/src/Entity/WrapperEntityBase.php
index 37a786e..d601fa1 100644
--- a/src/Entity/WrapperEntityBase.php
+++ b/src/Entity/WrapperEntityBase.php
@@ -111,7 +111,7 @@ abstract class WrapperEntityBase extends ConfigEntityBase implements EntityWithP
   /**
    * {@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") {
       $info = $this->getPluginDefinition();
       if (!empty($info['locked'])) {
-- 
GitLab