/**
* Returns the data of the media file to be returned by AJAX requests.
*
- * @param object $media media files whose data will be returned
+ * @param Media|ViewableMedia $media media files whose data will be returned
* @return string[]
*/
protected function getMediaData($media) {
}
/**
- * Returns object type by name.
+ * Returns the processor of the object type with the given name or `null`
+ * if no such processor exists
*
* @param string $objectType
- * @return object
+ * @return IUserNotificationObjectType|null
*/
public function getObjectTypeProcessor($objectType) {
if (isset($this->availableObjectTypes[$objectType])) {