refactor: add type decs
This commit is contained in:
parent
c0dd0d0623
commit
e8e41c6c9d
7 changed files with 106 additions and 91 deletions
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue