From: Brion Vibber Date: Mon, 21 Mar 2011 18:18:38 +0000 (-0700) Subject: remove type hinting -- fails when ArrayWrapper gets passed in some profile list pages X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9fc6de6b370a7f970e72be8d1f40f31958e0e40f;p=quix0rs-gnu-social.git remove type hinting -- fails when ArrayWrapper gets passed in some profile list pages --- diff --git a/plugins/ModPlus/ModPlusPlugin.php b/plugins/ModPlus/ModPlusPlugin.php index f8351f0988..ed478c27b8 100644 --- a/plugins/ModPlus/ModPlusPlugin.php +++ b/plugins/ModPlus/ModPlusPlugin.php @@ -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) {