Issue #2606724 by Lars Toomre, malavya: Few {@inheritdoc} formatting fixes
parent
c43a49055a
commit
0fb0add63c
|
@ -70,7 +70,7 @@ class DefaultExceptionHtmlSubscriber extends HttpExceptionSubscriberBase {
|
|||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function getHandledFormats() {
|
||||
return ['html'];
|
||||
|
|
|
@ -17,7 +17,7 @@ use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
|
|||
class ExceptionJsonSubscriber extends HttpExceptionSubscriberBase {
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function getHandledFormats() {
|
||||
return ['json'];
|
||||
|
|
|
@ -23,7 +23,7 @@ class ExceptionTestSiteSubscriber extends HttpExceptionSubscriberBase {
|
|||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function getHandledFormats() {
|
||||
return ['html'];
|
||||
|
|
|
@ -59,7 +59,7 @@ class Fast404ExceptionHtmlSubscriber extends HttpExceptionSubscriberBase {
|
|||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function getHandledFormats() {
|
||||
return ['html'];
|
||||
|
|
|
@ -156,7 +156,7 @@ class FieldTypePluginManager extends DefaultPluginManager implements FieldTypePl
|
|||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getPluginClass($type) {
|
||||
$plugin_definition = $this->getDefinition($type, FALSE);
|
||||
|
|
|
@ -224,7 +224,7 @@ class LanguageManager implements LanguageManagerInterface {
|
|||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function getStandardLanguageList() {
|
||||
// This list is based on languages available from localize.drupal.org. See
|
||||
|
|
|
@ -432,7 +432,7 @@ class UrlGenerator implements UrlGeneratorInterface {
|
|||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function supports($name) {
|
||||
// Support a route object and any string as route name.
|
||||
|
@ -440,7 +440,7 @@ class UrlGenerator implements UrlGeneratorInterface {
|
|||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getRouteDebugMessage($name, array $parameters = array()) {
|
||||
if (is_scalar($name)) {
|
||||
|
|
|
@ -30,7 +30,7 @@ class LinkTypeConstraint extends Constraint implements ConstraintValidatorInterf
|
|||
protected $context;
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function initialize(ExecutionContextInterface $context) {
|
||||
$this->context = $context;
|
||||
|
|
|
@ -779,7 +779,7 @@ class Sql extends PluginBase implements MigrateIdMapInterface, ContainerFactoryP
|
|||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function currentDestination() {
|
||||
if ($this->valid()) {
|
||||
|
|
|
@ -252,7 +252,7 @@ abstract class ListItemBase extends FieldItemBase implements OptionsProviderInte
|
|||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc.
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function storageSettingsToConfigData(array $settings) {
|
||||
if (isset($settings['allowed_values'])) {
|
||||
|
@ -262,7 +262,7 @@ abstract class ListItemBase extends FieldItemBase implements OptionsProviderInte
|
|||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc.
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function storageSettingsFromConfigData(array $settings) {
|
||||
if (isset($settings['allowed_values'])) {
|
||||
|
|
|
@ -40,7 +40,7 @@ class ContentEntityChangedTest extends EntityUnitTestBase {
|
|||
protected $mulRevChangedStorage;
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
|
|
|
@ -18,7 +18,7 @@ use Drupal\user\UserInterface;
|
|||
class EntityApiTest extends EntityUnitTestBase {
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
|
|
|
@ -30,7 +30,7 @@ class ValidReferenceConstraintValidatorTest extends EntityUnitTestBase {
|
|||
public static $modules = array('field', 'user');
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setUp() {
|
||||
parent::setUp();
|
||||
|
|
|
@ -21,7 +21,7 @@ use Drupal\Core\Render\BubbleableMetadata;
|
|||
class TokenReplaceUnitTest extends TokenReplaceUnitTestBase {
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
|
|
|
@ -17,7 +17,7 @@ use Drupal\Component\Plugin\Derivative\DeriverBase;
|
|||
class LocalActionTest extends DeriverBase {
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDerivativeDefinitions($base_plugin_definition) {
|
||||
$this->derivatives['example'] = $base_plugin_definition + [
|
||||
|
|
|
@ -17,7 +17,7 @@ use Drupal\Component\Plugin\Derivative\DeriverBase;
|
|||
class LocalTaskTestWithUnsafeTitle extends DeriverBase {
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getDerivativeDefinitions($base_plugin_definition) {
|
||||
$this->derivatives['unsafe'] = [
|
||||
|
|
|
@ -13,7 +13,7 @@ use Symfony\Component\HttpFoundation\Request;
|
|||
class TestTaskWithUserInput extends LocalTaskDefault {
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getTitle(Request $request = NULL) {
|
||||
return "<script>alert('Welcome to the jungle!')</script>";
|
||||
|
|
|
@ -41,7 +41,7 @@ class UserMailRequired extends Constraint implements ConstraintValidatorInterfac
|
|||
protected $context;
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function initialize(ExecutionContextInterface $context) {
|
||||
$this->context = $context;
|
||||
|
|
|
@ -138,7 +138,7 @@ class NumericField extends FieldPluginBase {
|
|||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function submitOptionsForm(&$form, FormStateInterface $form_state) {
|
||||
// Merge plural format options into one string and drop the individual
|
||||
|
|
|
@ -1249,7 +1249,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface {
|
|||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function createView(array $form, FormStateInterface $form_state) {
|
||||
$view = $this->retrieveValidatedView($form, $form_state);
|
||||
|
|
|
@ -47,7 +47,7 @@ class ImageTest extends UnitTestCase {
|
|||
protected $toolkitOperation;
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp() {
|
||||
// Use the Druplicon image.
|
||||
|
|
Loading…
Reference in New Issue