From bc2892a7a202a5452ea77fc3406a6ee916a26028 Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 3 Aug 2020 13:41:00 +0300 Subject: [PATCH] refactor(plugins): try to fix notice about unused variables --- src/flextype/app/Foundation/Plugins.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/flextype/app/Foundation/Plugins.php b/src/flextype/app/Foundation/Plugins.php index 77339e11..f3aa4b86 100755 --- a/src/flextype/app/Foundation/Plugins.php +++ b/src/flextype/app/Foundation/Plugins.php @@ -375,6 +375,9 @@ class Plugins */ private function includeEnabledPlugins($flextype, $app) : void { + $app = $app; + $flextype = $flextype; + if (! is_array($this->flextype['registry']->get('plugins')) || count($this->flextype['registry']->get('plugins')) <= 0) { return; }