1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-10 07:06:45 +02:00

refactor(plugins): try to fix notice about unused variables

This commit is contained in:
Awilum
2020-08-03 13:41:00 +03:00
parent 146eefad9a
commit bc2892a7a2

View File

@@ -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;
}