Improve various @param docs for src/wp-admin/*.

See #30224.


git-svn-id: https://develop.svn.wordpress.org/trunk@30680 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-12-01 00:59:43 +00:00
parent c0045bda84
commit 8a4fa5662b
8 changed files with 33 additions and 23 deletions

View File

@@ -60,7 +60,7 @@ function get_hidden_columns( $screen ) {
*
* @since 2.7.0
*
* @param string|WP_Screen $screen
* @param WP_Screen $screen
*/
function meta_box_prefs( $screen ) {
global $wp_meta_boxes;
@@ -650,7 +650,7 @@ final class WP_Screen {
* @param string $option Option name.
* @param string $key Optional. Specific array key for when the option is an array.
* Default false.
* @return mixed The option value if set, null otherwise.
* @return string The option value if set, null otherwise.
*/
public function get_option( $option, $key = false ) {
if ( ! isset( $this->_options[ $option ] ) )