]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Renderer.php
Fix PHPDoc comments project-wide
[friendica.git] / src / Core / Renderer.php
index 29b160634972ee5f3aab3f51b9e7051974600013..c5cffea67d9efa530431a8fbd5f8fc91a7f3bc59 100644 (file)
@@ -56,6 +56,7 @@ class Renderer extends BaseObject
         * @param array                  $vars key value pairs (search => replace)
         *
         * @return string substituted string
+        * @throws \Friendica\Network\HTTPException\InternalServerErrorException
         */
     public static function replaceMacros($s, $vars)
     {
@@ -78,14 +79,15 @@ class Renderer extends BaseObject
         return $output;
     }
 
-    /**
-     * @brief Load a given template $s
-     *
-     * @param string $s     Template to load.
-     * @param string $root  Optional.
-     * 
-     * @return string template.
-     */
+       /**
+        * @brief Load a given template $s
+        *
+        * @param string $s    Template to load.
+        * @param string $root Optional.
+        *
+        * @return string template.
+        * @throws Exception
+        */
     public static function getMarkupTemplate($s, $root = '')
     {
         $stamp1 = microtime(true);