Verified Commit d2d6d0c1 authored by Dave Long's avatar Dave Long
Browse files

Issue #3098201 by Ratan Priya, guilhermevp, scott_euser, smustgrave,...

Issue #3098201 by Ratan Priya, guilhermevp, scott_euser, smustgrave, narendra.rajwar27, Dave Reid, Abhijith S, catch, larowlan, alexpott: \Drupal\editor\Ajax\EditorDialogSave::__construct() should typehint as an array instead of a string
parent a3decd9d
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -15,17 +15,17 @@ class EditorDialogSave implements CommandInterface {
  /**
   * An array of values that will be passed back to the editor by the dialog.
   *
   * @var string
   * @var array
   */
  protected $values;
  protected array $values;

  /**
   * Constructs an EditorDialogSave object.
   *
   * @param string $values
   * @param array $values
   *   The values that should be passed to the form constructor in Drupal.
   */
  public function __construct($values) {
  public function __construct(array $values) {
    $this->values = $values;
  }