]> git.mxchange.org Git - friendica.git/blobdiff - mod/match.php
Merge pull request #3483 from rabuzarus/20170522_-_frio_event_button_fix
[friendica.git] / mod / match.php
index f7274e436666e727f0cd57c3d2c3c0964dfbf2a8..4119bf8e84315c8b8cbeed8b0dd0c337edf36820 100644 (file)
@@ -1,5 +1,8 @@
 <?php
-include_once('include/text.php');
+
+use Friendica\App;
+
+require_once('include/text.php');
 require_once('include/socgraph.php');
 require_once('include/contact_widgets.php');
 require_once('mod/proxy.php');
@@ -10,10 +13,10 @@ require_once('mod/proxy.php');
  * It takes keywords from your profile and queries the directory server for
  * matching keywords from other profiles.
  *
- * @param App &$a
+ * @param App $a
  * @return void|string
  */
-function match_content(App &$a) {
+function match_content(App $a) {
 
        $o = '';
        if (! local_user()) {