]> git.mxchange.org Git - friendica.git/blobdiff - mod/hovercard.php
Bugfix for pull request 3125
[friendica.git] / mod / hovercard.php
index 65b75b32112df4ab9954fd40664d040d54b4b004..ec749db2088fbcfa1816185a0e198debd679e086 100644 (file)
@@ -11,7 +11,7 @@
 require_once("include/socgraph.php");
 require_once("include/Contact.php");
 
-function hovercard_init(&$a) {
+function hovercard_init(App $a) {
        // Just for testing purposes
        $_GET["mode"] = "minimal";
 }
@@ -96,10 +96,10 @@ function hovercard_content() {
 
 /**
  * @brief Get the raw content of a template file
- * 
+ *
  * @param string $template The name of the template
  * @param string $root Directory of the template
- * 
+ *
  * @return string|bool Output the raw content if existent, otherwise false
  */
 function get_template_content($template, $root = "") {