From 6a15d0762c6ef10aad62cfb1ca9a2f353d89c969 Mon Sep 17 00:00:00 2001
From: Nathaniel Catchpole <catch@35733.no-reply.drupal.org>
Date: Tue, 23 Jan 2018 12:14:26 +0000
Subject: [PATCH] Issue #2924165 by TravisCarden: Doxygen for callable
 arguments missing callable keyword

---
 core/includes/bootstrap.inc       | 2 +-
 core/includes/file.inc            | 2 +-
 core/modules/system/system.module | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc
index 0ff27ee63350..462283a14d1c 100644
--- a/core/includes/bootstrap.inc
+++ b/core/includes/bootstrap.inc
@@ -987,7 +987,7 @@ function drupal_placeholder($text) {
  * Wrapper for register_shutdown_function() that catches thrown exceptions to
  * avoid "Exception thrown without a stack frame in Unknown".
  *
- * @param $callback
+ * @param callable $callback
  *   The shutdown function to register.
  * @param ...
  *   Additional arguments to pass to the shutdown function.
diff --git a/core/includes/file.inc b/core/includes/file.inc
index 3273e7e2ff35..36fb006fe627 100644
--- a/core/includes/file.inc
+++ b/core/includes/file.inc
@@ -896,7 +896,7 @@ function file_unmanaged_delete($path) {
  *
  * @param $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
  *   on each directory prior to traversing it. For example, can be used to
  *   modify permissions.
diff --git a/core/modules/system/system.module b/core/modules/system/system.module
index e38e8ddce98e..6bef11011c4e 100644
--- a/core/modules/system/system.module
+++ b/core/modules/system/system.module
@@ -450,7 +450,7 @@ function template_preprocess_entity_add_list(&$variables) {
  *  $form_state->setRedirectUrl(system_authorized_get_url());
  * @endcode
  *
- * @param $callback
+ * @param callable $callback
  *   The name of the function to invoke once the user authorizes the operation.
  * @param $file
  *   The full path to the file where the callback function is implemented.
-- 
GitLab