Make WordPress Core

Changeset 32530


Ignore:
Timestamp:
05/21/2015 08:46:25 PM (9 years ago)
Author:
wonderboymusic
Message:

In capabilities.php, clarify/add some return docs.

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/capabilities.php

    r32173 r32530  
    8888     * @param callable $name      Method to call.
    8989     * @param array    $arguments Arguments to pass when calling.
    90      * @return mixed|bool Return value of the callback, false otherwise.
     90     * @return mixed|false Return value of the callback, false otherwise.
    9191     */
    9292    public function __call( $name, $arguments ) {
     
    714714     *
    715715     * @param string $key Property
     716     * @return mixed
    716717     */
    717718    public function get( $key ) {
     
    727728     *
    728729     * @param string $key Property
     730     * @return bool
    729731     */
    730732    public function has_prop( $key ) {
Note: See TracChangeset for help on using the changeset viewer.