Skip to content

Commit

Permalink
PHPDoc: fix incorrect function return type
Browse files Browse the repository at this point in the history
config_get_value_as_string() returns string, not void.
  • Loading branch information
dregad committed Sep 4, 2019
1 parent 8973350 commit 0155970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/config_api.php
Expand Up @@ -745,7 +745,7 @@ function config_cache_all() {
* @param integer $p_type Configuration type id.
* @param mixed $p_value Configuration value.
* @param boolean $p_for_display Whether to pass the value via string attribute for web browser display.
* @return void
* @return string
*/
function config_get_value_as_string( $p_type, $p_value, $p_for_display = true ) {
$t_corrupted = false;
Expand Down

0 comments on commit 0155970

Please sign in to comment.