diff options
author | 2022-04-26 00:57:59 +0200 | |
---|---|---|
committer | 2022-04-26 00:57:59 +0200 | |
commit | 0ef298f9cc5d2ab74ea9d41706998110fec0308f (patch) | |
tree | ef6692c1ddde0cb2adbaa7db0aa2bb139fb41e89 /lib/FormatFactory.php | |
parent | b090b17bbf934a102723101911e30796520680b8 (diff) | |
download | rss-bridge-0ef298f9cc5d2ab74ea9d41706998110fec0308f.tar.gz rss-bridge-0ef298f9cc5d2ab74ea9d41706998110fec0308f.tar.zst rss-bridge-0ef298f9cc5d2ab74ea9d41706998110fec0308f.zip |
refactor: add php autoloader (#2655)
Diffstat (limited to 'lib/FormatFactory.php')
-rw-r--r-- | lib/FormatFactory.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/FormatFactory.php b/lib/FormatFactory.php index e2bba2fc..c5024e15 100644 --- a/lib/FormatFactory.php +++ b/lib/FormatFactory.php @@ -59,8 +59,6 @@ class FormatFactory extends FactoryAbstract { throw new \Exception('Format file ' . $filePath . ' does not exist!'); } - require_once $pathFormat; - if((new \ReflectionClass($name))->isInstantiable()) { return new $name(); } |