]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/ModPlus/ModPlusPlugin.php
remove type hinting -- fails when ArrayWrapper gets passed in some profile list pages
[quix0rs-gnu-social.git] / plugins / ModPlus / ModPlusPlugin.php
index f8351f0988759feb88dbb825ce53f6c20c2e7126..ed478c27b83a7c2f97db1689edc75709f2a14bc3 100644 (file)
@@ -129,9 +129,9 @@ class ModPlusPlugin extends Plugin
      * Currently only adds output for remote profiles, nothing for local users.
      *
      * @param HTMLOutputter $out
-     * @param Profile $profile
+     * @param Profile $profile (may also be an ArrayWrapper... sigh)
      */
-    protected function showProfileOptions(HTMLOutputter $out, Profile $profile)
+    protected function showProfileOptions(HTMLOutputter $out, $profile)
     {
         $isRemote = !(User::staticGet('id', $profile->id));
         if ($isRemote) {