Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/11/2015 04:27:50 PM (9 years ago)
Author:
djpaul
Message:

phpdoc: remove obsolete @access public|protected|private statements.

These should only be used on procedural functions that, for legacy
reasons, pretend they are private by prefacing their name with an
underscore.

As modern PHP parsers and IDEs use reflections to figure out the
visibility scope of methods and properties by looking at the actual
code, there’s also no bonus in keeping these purely for documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/classes/class-bp-activity-feed.php

    r10094 r10248  
    174174    /**
    175175     * Setup and validate the class properties.
    176      *
    177      * @access protected
    178176     */
    179177    protected function setup_properties() {
     
    199197     * Currently, these hooks are used to maintain backwards compatibility with
    200198     * the RSS feeds previous to BP 1.8.
    201      *
    202      * @access protected
    203199     */
    204200    protected function setup_hooks() {
     
    273269    /**
    274270     * Output the feed's item content.
    275      *
    276      * @access protected
    277271     */
    278272    protected function feed_content() {
     
    304298     *
    305299     * @since 1.9.0
    306      *
    307      * @access protected
    308300     */
    309301    protected function http_headers() {
     
    380372    /**
    381373     * Output the RSS feed.
    382      *
    383      * @access protected
    384374     */
    385375    protected function output() {
Note: See TracChangeset for help on using the changeset viewer.