@@ -129415,6 +129415,7 @@ function add_filter($hook_name, $callback, $priority = 10, $accepted_args = 1)
129415129415 * @param mixed $value The value to filter.
129416129416 * @param mixed ...$args Optional. Additional parameters to pass to the callback functions.
129417129417 * @return mixed The filtered value after all hooked functions are applied to it.
129418+ * @phpstan-param non-empty-string $hook_name
129418129419 */
129419129420 function apply_filters($hook_name, $value, ...$args)
129420129421 {
@@ -129434,6 +129435,7 @@ function apply_filters($hook_name, $value, ...$args)
129434129435 * @param string $hook_name The name of the filter hook.
129435129436 * @param array $args The arguments supplied to the functions hooked to `$hook_name`.
129436129437 * @return mixed The filtered value after all hooked functions are applied to it.
129438+ * @phpstan-param non-empty-string $hook_name
129437129439 */
129438129440 function apply_filters_ref_array($hook_name, $args)
129439129441 {
@@ -129610,6 +129612,7 @@ function add_action($hook_name, $callback, $priority = 10, $accepted_args = 1)
129610129612 * @param string $hook_name The name of the action to be executed.
129611129613 * @param mixed ...$arg Optional. Additional arguments which are passed on to the
129612129614 * functions hooked to the action. Default empty.
129615+ * @phpstan-param non-empty-string $hook_name
129613129616 * @phpstan-return void
129614129617 */
129615129618 function do_action($hook_name, ...$arg)
@@ -129629,6 +129632,7 @@ function do_action($hook_name, ...$arg)
129629129632 *
129630129633 * @param string $hook_name The name of the action to be executed.
129631129634 * @param array $args The arguments supplied to the functions hooked to `$hook_name`.
129635+ * @phpstan-param non-empty-string $hook_name
129632129636 * @phpstan-return void
129633129637 */
129634129638 function do_action_ref_array($hook_name, $args)
@@ -129766,6 +129770,7 @@ function did_action($hook_name)
129766129770 * @param string $replacement Optional. The hook that should have been used. Default empty.
129767129771 * @param string $message Optional. A message regarding the change. Default empty.
129768129772 * @return mixed The filtered value after all hooked functions are applied to it.
129773+ * @phpstan-param non-empty-string $hook_name
129769129774 */
129770129775 function apply_filters_deprecated($hook_name, $args, $version, $replacement = '', $message = '')
129771129776 {
@@ -129786,6 +129791,7 @@ function apply_filters_deprecated($hook_name, $args, $version, $replacement = ''
129786129791 * @param string $version The version of WordPress that deprecated the hook.
129787129792 * @param string $replacement Optional. The hook that should have been used. Default empty.
129788129793 * @param string $message Optional. A message regarding the change. Default empty.
129794+ * @phpstan-param non-empty-string $hook_name
129789129795 * @phpstan-return void
129790129796 */
129791129797 function do_action_deprecated($hook_name, $args, $version, $replacement = '', $message = '')
0 commit comments