From b7eb1b13fc4e141f210385be6e818eb74b1b4b80 Mon Sep 17 00:00:00 2001
From: Stein Magne Bjorklund <steinmb@smbjorklund.com>
Date: Mon, 3 Mar 2025 14:04:06 +0100
Subject: [PATCH] WP143: #1362: Missing return statements on
 ConfigUibOverride::createConfigObject()

---
 src/Config/ConfigUibOverride.php | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/Config/ConfigUibOverride.php b/src/Config/ConfigUibOverride.php
index 6a6d4b9..f6c3277 100644
--- a/src/Config/ConfigUibOverride.php
+++ b/src/Config/ConfigUibOverride.php
@@ -45,15 +45,14 @@ class ConfigUibOverride implements ConfigFactoryOverrideInterface {
   /**
    * {@inheritDoc}
    */
-  public function getCacheSuffix() {
+  public function getCacheSuffix(): string {
     return '';
   }
 
   /**
    * {@inheritDoc}
    */
-  public function createConfigObject($name, $collection = StorageInterface::DEFAULT_COLLECTION) {
-    // @todo Implement createConfigObject() method.
+  public function createConfigObject($name, $collection = StorageInterface::DEFAULT_COLLECTION): void {
   }
 
   /**
-- 
GitLab