]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Config/Cache/ConfigCache.php
wrong indent
[friendica.git] / src / Core / Config / Cache / ConfigCache.php
index 85525b4767c3e143d9fb06d04920205a27d644db..3314e184f3519cf5f4a7ee388e37da8ce949fc41 100644 (file)
@@ -189,31 +189,31 @@ class ConfigCache implements IConfigCache, IPConfigCache
                return $this->config;
        }
 
-    /**
-     * Returns an array with missing categories/Keys
-     *
-     * @param array $config The array to check
-     *
-     * @return array
-     */
+       /**
+        * Returns an array with missing categories/Keys
+        *
+        * @param array $config The array to check
+        *
+        * @return array
+        */
        public function keyDiff(array $config)
-    {
-        $return = [];
+       {
+               $return = [];
 
-        $categories = array_keys($config);
+               $categories = array_keys($config);
 
-        foreach ($categories as $category) {
-            if (is_array($config[$category])) {
-                $keys = array_keys($config[$category]);
+               foreach ($categories as $category) {
+                       if (is_array($config[$category])) {
+                               $keys = array_keys($config[$category]);
 
-                foreach ($keys as $key) {
-                    if (!isset($this->config[$category][$key])) {
-                        $return[$category][$key] = $config[$category][$key];
-                    }
-                }
-            }
-        }
+                               foreach ($keys as $key) {
+                                       if (!isset($this->config[$category][$key])) {
+                                               $return[$category][$key] = $config[$category][$key];
+                                       }
+                               }
+                       }
+               }
 
-        return $return;
-    }
+               return $return;
+       }
 }