diff options
Diffstat (limited to 'lib/FormatFactory.php')
-rw-r--r-- | lib/FormatFactory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/FormatFactory.php b/lib/FormatFactory.php index d27d7d6a..9cded40f 100644 --- a/lib/FormatFactory.php +++ b/lib/FormatFactory.php @@ -33,7 +33,7 @@ class FormatFactory * @throws \InvalidArgumentException * @param string $name The name of the format e.g. "Atom", "Mrss" or "Json" */ - public function create(string $name): FormatInterface + public function create(string $name): FormatAbstract { if (! preg_match('/^[a-zA-Z0-9-]*$/', $name)) { throw new \InvalidArgumentException('Format name invalid!'); |