Note explicitly that you can pass null to Notice::inScope()

This commit is contained in:
Brion Vibber 2011-03-29 17:01:53 -07:00
parent 1c63ae29fe
commit 2e56e11482

View File

@ -2088,7 +2088,7 @@ class Notice extends Memcached_DataObject
* Users on the site who are not mentioned in the notice will not be able to see the * Users on the site who are not mentioned in the notice will not be able to see the
* notice. * notice.
* *
* @param Profile $profile The profile to check * @param Profile $profile The profile to check; pass null to check for public/unauthenticated users.
* *
* @return boolean whether the profile is in the notice's scope * @return boolean whether the profile is in the notice's scope
*/ */