Issue #2924165 by TravisCarden: Doxygen for callable arguments missing callable keyword

merge-requests/1654/head
Nathaniel Catchpole 2018-01-23 12:14:26 +00:00
parent efd626d075
commit 6a15d0762c
3 changed files with 3 additions and 3 deletions

View File

@ -987,7 +987,7 @@ function drupal_placeholder($text) {
* Wrapper for register_shutdown_function() that catches thrown exceptions to * Wrapper for register_shutdown_function() that catches thrown exceptions to
* avoid "Exception thrown without a stack frame in Unknown". * avoid "Exception thrown without a stack frame in Unknown".
* *
* @param $callback * @param callable $callback
* The shutdown function to register. * The shutdown function to register.
* @param ... * @param ...
* Additional arguments to pass to the shutdown function. * Additional arguments to pass to the shutdown function.

View File

@ -896,7 +896,7 @@ function file_unmanaged_delete($path) {
* *
* @param $path * @param $path
* A string containing either an URI or a file or directory path. * A string containing either an URI or a file or directory path.
* @param $callback * @param callable $callback
* (optional) Callback function to run on each file prior to deleting it and * (optional) Callback function to run on each file prior to deleting it and
* on each directory prior to traversing it. For example, can be used to * on each directory prior to traversing it. For example, can be used to
* modify permissions. * modify permissions.

View File

@ -450,7 +450,7 @@ function template_preprocess_entity_add_list(&$variables) {
* $form_state->setRedirectUrl(system_authorized_get_url()); * $form_state->setRedirectUrl(system_authorized_get_url());
* @endcode * @endcode
* *
* @param $callback * @param callable $callback
* The name of the function to invoke once the user authorizes the operation. * The name of the function to invoke once the user authorizes the operation.
* @param $file * @param $file
* The full path to the file where the callback function is implemented. * The full path to the file where the callback function is implemented.