From 09473febc294b6012b89f9536e72ce30a208f440 Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 3 Sep 2019 14:50:38 +0300 Subject: [PATCH] refactor(core): refactor Plugins API #186 --- flextype/core/Plugins.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flextype/core/Plugins.php b/flextype/core/Plugins.php index beb16b6d..f0400290 100755 --- a/flextype/core/Plugins.php +++ b/flextype/core/Plugins.php @@ -69,7 +69,7 @@ class Plugins // Get Plugins List $plugins_list = []; - foreach Filesystem::listContents(PATH['plugins']) as $plugin) { + foreach (Filesystem::listContents(PATH['plugins']) as $plugin) { if ($plugin['type'] !== 'dir') { continue; } @@ -94,7 +94,7 @@ class Plugins // Init plugin configs $plugins = []; $plugin_settings = []; - $plugin_manifest = []; + $plugin_manifest = []; // Go through... foreach ($plugins_list as $plugin) {