Commit 70f620b5 authored by Marcin Grabias's avatar Marcin Grabias
Browse files

Issue #3309934: removed type hint.

parent 11bfdfea
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -165,7 +165,7 @@ class ViewsBulkOperationsActionManager extends ActionManager {
   * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException
   * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException
   *   Thrown if $plugin_id is invalid and $exception_on_invalid is TRUE.
   *   Thrown if $plugin_id is invalid and $exception_on_invalid is TRUE.
   */
   */
  public function getDefinition($plugin_id, $exception_on_invalid = TRUE, array $parameters = []): mixed {
  public function getDefinition($plugin_id, $exception_on_invalid = TRUE, array $parameters = []) {
    // Loading all definitions here will not hurt much, as they're cached,
    // Loading all definitions here will not hurt much, as they're cached,
    // and we need the option to alter a definition.
    // and we need the option to alter a definition.
    $definitions = $this->getDefinitions($parameters);
    $definitions = $this->getDefinitions($parameters);