Skip to content
Snippets Groups Projects
Verified Commit 22f67831 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #3081679 by eiriksm: AjaxResponse::getCommands has wrong return type

parent 932a453f
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -58,8 +58,8 @@ public function addCommand(CommandInterface $command, $prepend = FALSE) {
/**
* Gets all AJAX commands.
*
* @return \Drupal\Core\Ajax\CommandInterface[]
* Returns all previously added AJAX commands.
* @return array
* Returns render arrays for all previously added commands.
*/
public function &getCommands() {
return $this->commands;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment