Remove extra semi-colon and change docblock to use inheritdoc.

  /**
   * Implements Drupal\Component\Plugin\PluginManagerInterface::getDefinition().
   */
  public function getDefinition($plugin_id) {
    return $this->discovery->getDefinition($plugin_id);;
  }

Comments

kim.pepper’s picture

Status: Active » Needs review
StatusFileSize
new2.35 KB

Cleans up.

tim.plunkett’s picture

Status: Needs review » Reviewed & tested by the community
+++ b/core/lib/Drupal/Component/Plugin/PluginManagerBase.phpundefined
@@ -46,21 +46,21 @@
-    return $this->discovery->getDefinition($plugin_id);;
+    return $this->discovery->getDefinition($plugin_id);

lol.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 411dc59 and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.