1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-06 08:37:30 +02:00

refactor: add php autoloader (#2655)

This commit is contained in:
Dag
2022-04-26 00:57:59 +02:00
committed by GitHub
parent b090b17bbf
commit 0ef298f9cc
9 changed files with 16 additions and 12 deletions

View File

@@ -27,8 +27,6 @@ class ActionFactory extends FactoryAbstract {
throw new \Exception('Action ' . $name . ' does not exist!');
}
require_once $filePath;
$class = $this->buildClassName($name);
if((new \ReflectionClass($class))->isInstantiable()) {