Unverified Commit abb48876 authored by larowlan's avatar larowlan

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

(cherry picked from commit 22f67831)
parent 89bd6a3c
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment