Commit 0fb0add6 authored by jhodgdon's avatar jhodgdon

Issue #2606724 by Lars Toomre, malavya: Few {@inheritdoc} formatting fixes

parent c43a4905
...@@ -70,7 +70,7 @@ protected static function getPriority() { ...@@ -70,7 +70,7 @@ protected static function getPriority() {
} }
/** /**
* {@inheritDoc} * {@inheritdoc}
*/ */
protected function getHandledFormats() { protected function getHandledFormats() {
return ['html']; return ['html'];
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
class ExceptionJsonSubscriber extends HttpExceptionSubscriberBase { class ExceptionJsonSubscriber extends HttpExceptionSubscriberBase {
/** /**
* {@inheritDoc} * {@inheritdoc}
*/ */
protected function getHandledFormats() { protected function getHandledFormats() {
return ['json']; return ['json'];
......
...@@ -23,7 +23,7 @@ protected static function getPriority() { ...@@ -23,7 +23,7 @@ protected static function getPriority() {
} }
/** /**
* {@inheritDoc} * {@inheritdoc}
*/ */
protected function getHandledFormats() { protected function getHandledFormats() {
return ['html']; return ['html'];
......
...@@ -59,7 +59,7 @@ protected static function getPriority() { ...@@ -59,7 +59,7 @@ protected static function getPriority() {
} }
/** /**
* {@inheritDoc} * {@inheritdoc}
*/ */
protected function getHandledFormats() { protected function getHandledFormats() {
return ['html']; return ['html'];
......
...@@ -156,7 +156,7 @@ public function getUiDefinitions() { ...@@ -156,7 +156,7 @@ public function getUiDefinitions() {
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function getPluginClass($type) { public function getPluginClass($type) {
$plugin_definition = $this->getDefinition($type, FALSE); $plugin_definition = $this->getDefinition($type, FALSE);
......
...@@ -224,7 +224,7 @@ public function getLanguageSwitchLinks($type, Url $url) { ...@@ -224,7 +224,7 @@ public function getLanguageSwitchLinks($type, Url $url) {
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public static function getStandardLanguageList() { public static function getStandardLanguageList() {
// This list is based on languages available from localize.drupal.org. See // This list is based on languages available from localize.drupal.org. See
......
...@@ -432,7 +432,7 @@ protected function getRoute($name) { ...@@ -432,7 +432,7 @@ protected function getRoute($name) {
} }
/** /**
* {@inheritDoc} * {@inheritdoc}
*/ */
public function supports($name) { public function supports($name) {
// Support a route object and any string as route name. // Support a route object and any string as route name.
...@@ -440,7 +440,7 @@ public function supports($name) { ...@@ -440,7 +440,7 @@ public function supports($name) {
} }
/** /**
* {@inheritDoc} * {@inheritdoc}
*/ */
public function getRouteDebugMessage($name, array $parameters = array()) { public function getRouteDebugMessage($name, array $parameters = array()) {
if (is_scalar($name)) { if (is_scalar($name)) {
......
...@@ -30,7 +30,7 @@ class LinkTypeConstraint extends Constraint implements ConstraintValidatorInterf ...@@ -30,7 +30,7 @@ class LinkTypeConstraint extends Constraint implements ConstraintValidatorInterf
protected $context; protected $context;
/** /**
* {@inheritDoc} * {@inheritdoc}
*/ */
public function initialize(ExecutionContextInterface $context) { public function initialize(ExecutionContextInterface $context) {
$this->context = $context; $this->context = $context;
......
...@@ -779,7 +779,7 @@ public function key() { ...@@ -779,7 +779,7 @@ public function key() {
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function currentDestination() { public function currentDestination() {
if ($this->valid()) { if ($this->valid()) {
......
...@@ -252,7 +252,7 @@ protected function allowedValuesString($values) { ...@@ -252,7 +252,7 @@ protected function allowedValuesString($values) {
} }
/** /**
* @inheritdoc. * {@inheritdoc}
*/ */
public static function storageSettingsToConfigData(array $settings) { public static function storageSettingsToConfigData(array $settings) {
if (isset($settings['allowed_values'])) { if (isset($settings['allowed_values'])) {
...@@ -262,7 +262,7 @@ public static function storageSettingsToConfigData(array $settings) { ...@@ -262,7 +262,7 @@ public static function storageSettingsToConfigData(array $settings) {
} }
/** /**
* @inheritdoc. * {@inheritdoc}
*/ */
public static function storageSettingsFromConfigData(array $settings) { public static function storageSettingsFromConfigData(array $settings) {
if (isset($settings['allowed_values'])) { if (isset($settings['allowed_values'])) {
......
...@@ -40,7 +40,7 @@ class ContentEntityChangedTest extends EntityUnitTestBase { ...@@ -40,7 +40,7 @@ class ContentEntityChangedTest extends EntityUnitTestBase {
protected $mulRevChangedStorage; protected $mulRevChangedStorage;
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
protected function setUp() { protected function setUp() {
parent::setUp(); parent::setUp();
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
class EntityApiTest extends EntityUnitTestBase { class EntityApiTest extends EntityUnitTestBase {
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
protected function setUp() { protected function setUp() {
parent::setUp(); parent::setUp();
......
...@@ -30,7 +30,7 @@ class ValidReferenceConstraintValidatorTest extends EntityUnitTestBase { ...@@ -30,7 +30,7 @@ class ValidReferenceConstraintValidatorTest extends EntityUnitTestBase {
public static $modules = array('field', 'user'); public static $modules = array('field', 'user');
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function setUp() { public function setUp() {
parent::setUp(); parent::setUp();
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
class TokenReplaceUnitTest extends TokenReplaceUnitTestBase { class TokenReplaceUnitTest extends TokenReplaceUnitTestBase {
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
protected function setUp() { protected function setUp() {
parent::setUp(); parent::setUp();
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
class LocalActionTest extends DeriverBase { class LocalActionTest extends DeriverBase {
/** /**
* @inheritDoc * {@inheritdoc}
*/ */
public function getDerivativeDefinitions($base_plugin_definition) { public function getDerivativeDefinitions($base_plugin_definition) {
$this->derivatives['example'] = $base_plugin_definition + [ $this->derivatives['example'] = $base_plugin_definition + [
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
class LocalTaskTestWithUnsafeTitle extends DeriverBase { class LocalTaskTestWithUnsafeTitle extends DeriverBase {
/** /**
* @inheritDoc * {@inheritdoc}
*/ */
public function getDerivativeDefinitions($base_plugin_definition) { public function getDerivativeDefinitions($base_plugin_definition) {
$this->derivatives['unsafe'] = [ $this->derivatives['unsafe'] = [
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
class TestTaskWithUserInput extends LocalTaskDefault { class TestTaskWithUserInput extends LocalTaskDefault {
/** /**
* @inheritDoc * {@inheritdoc}
*/ */
public function getTitle(Request $request = NULL) { public function getTitle(Request $request = NULL) {
return "<script>alert('Welcome to the jungle!')</script>"; return "<script>alert('Welcome to the jungle!')</script>";
......
...@@ -41,7 +41,7 @@ class UserMailRequired extends Constraint implements ConstraintValidatorInterfac ...@@ -41,7 +41,7 @@ class UserMailRequired extends Constraint implements ConstraintValidatorInterfac
protected $context; protected $context;
/** /**
* {@inheritDoc} * {@inheritdoc}
*/ */
public function initialize(ExecutionContextInterface $context) { public function initialize(ExecutionContextInterface $context) {
$this->context = $context; $this->context = $context;
......
...@@ -138,7 +138,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { ...@@ -138,7 +138,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function submitOptionsForm(&$form, FormStateInterface $form_state) { public function submitOptionsForm(&$form, FormStateInterface $form_state) {
// Merge plural format options into one string and drop the individual // Merge plural format options into one string and drop the individual
......
...@@ -1249,7 +1249,7 @@ public function validateView(array $form, FormStateInterface $form_state) { ...@@ -1249,7 +1249,7 @@ public function validateView(array $form, FormStateInterface $form_state) {
} }
/** /**
* {@inheritDoc} * {@inheritdoc}
*/ */
public function createView(array $form, FormStateInterface $form_state) { public function createView(array $form, FormStateInterface $form_state) {
$view = $this->retrieveValidatedView($form, $form_state); $view = $this->retrieveValidatedView($form, $form_state);
......
...@@ -47,7 +47,7 @@ class ImageTest extends UnitTestCase { ...@@ -47,7 +47,7 @@ class ImageTest extends UnitTestCase {
protected $toolkitOperation; protected $toolkitOperation;
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
protected function setUp() { protected function setUp() {
// Use the Druplicon image. // Use the Druplicon image.
......
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