Make WordPress Core


Ignore:
Timestamp:
10/10/2020 08:00:30 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Standardise the type name for booleans and integers.

This brings these docs inline with the documentation standards.

Props ravipatel, justinahinon

Fixes #51426

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-block-styles-registry.php

    r48198 r49120  
    3939     *                                 style (name of the stylesheet to be enqueued),
    4040     *                                 inline_style (string containing the CSS to be added).
    41      * @return boolean True if the block style was registered with success and false otherwise.
     41     * @return bool True if the block style was registered with success and false otherwise.
    4242     */
    4343    public function register( $block_name, $style_properties ) {
     
    7070     * @param string $block_name       Block type name including namespace.
    7171     * @param string $block_style_name Block style name.
    72      * @return boolean True if the block style was unregistered with success and false otherwise.
     72     * @return bool True if the block style was unregistered with success and false otherwise.
    7373     */
    7474    public function unregister( $block_name, $block_style_name ) {
Note: See TracChangeset for help on using the changeset viewer.