Skip to content

Commit

Permalink
Add missing @param at drush_set_error()
Browse files Browse the repository at this point in the history
$output_label argument is not defined in the docblock.
  • Loading branch information
juampynr authored and weitzman committed Sep 16, 2014
1 parent 9d893c8 commit 90ded68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions includes/drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1713,6 +1713,9 @@ function drush_format_size($size, $langcode = NULL) {
* Optional. Error message to be logged. If no message is specified, hook_drush_help will be consulted,
* using a key of 'error:MY_ERROR_STRING'.
*
* @param $output_label
* Optional. Label to prepend to the error message.
*
* @return
* Always returns FALSE, to allow you to return with false in the calling functions,
* such as <code>return drush_set_error('DRUSH_FRAMEWORK_ERROR')</code>
Expand Down

0 comments on commit 90ded68

Please sign in to comment.