X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2Fformatter%2FFormatterFactory.php;h=a029579f6908f5452056d0db8db16a87c57ee5d4;hb=67339338af74a53780cc05232461ec30ffb05ad9;hp=5f282f686b95ace2439c6db273be4ce78637f876;hpb=a39acb2518f272df8a601af72c13eabe2719dcb8;p=github%2Fshaarli%2FShaarli.git diff --git a/application/formatter/FormatterFactory.php b/application/formatter/FormatterFactory.php index 5f282f68..a029579f 100644 --- a/application/formatter/FormatterFactory.php +++ b/application/formatter/FormatterFactory.php @@ -38,7 +38,7 @@ class FormatterFactory * * @return BookmarkFormatter instance. */ - public function getFormatter(string $type = null) + public function getFormatter(string $type = null): BookmarkFormatter { $type = $type ? $type : $this->conf->get('formatter', 'default'); $className = '\\Shaarli\\Formatter\\Bookmark'. ucfirst($type) .'Formatter';