Unverified Commit 22f67831 authored by larowlan's avatar larowlan

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

parent 932a453f
...@@ -58,8 +58,8 @@ public function addCommand(CommandInterface $command, $prepend = FALSE) { ...@@ -58,8 +58,8 @@ public function addCommand(CommandInterface $command, $prepend = FALSE) {
/** /**
* Gets all AJAX commands. * Gets all AJAX commands.
* *
* @return \Drupal\Core\Ajax\CommandInterface[] * @return array
* Returns all previously added AJAX commands. * Returns render arrays for all previously added commands.
*/ */
public function &getCommands() { public function &getCommands() {
return $this->commands; 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