]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/formatter/FormatterFactory.php
Better support for notes permalink
[github/shaarli/Shaarli.git] / application / formatter / FormatterFactory.php
index 5f282f686b95ace2439c6db273be4ce78637f876..a029579f6908f5452056d0db8db16a87c57ee5d4 100644 (file)
@@ -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';