refactor: add type decs

This commit is contained in:
Ben Goldsworthy 2021-05-02 09:26:03 +01:00
parent c0dd0d0623
commit e8e41c6c9d
7 changed files with 106 additions and 91 deletions

View file

@ -121,7 +121,7 @@ abstract class Engine {
* @param string $p_str_title Title of the section.
* @param int $p_int_settings_container_index Settings Container index.
* @param bool $p_bool_has_submit_button Whether a Submit button should
* be displayed for this section. Default `true`.
* be displayed for this section. Default `true`.
* @return array {
* A dashboard section.
*

View file

@ -77,8 +77,7 @@ class Settings extends Engine {
/**
* Returns an array of all registered sections for the sub-page.
*
* @see Engine::add_section() For more information on the
* section array format.
* @see Engine::add_section() For more information on the section array format.
* @return array[] All of the registered sections.
*
* @since 1.5.0