diff --git a/core/lib/Drupal/Core/Controller/ControllerResolver.php b/core/lib/Drupal/Core/Controller/ControllerResolver.php index bded7a6..385f198 100644 --- a/core/lib/Drupal/Core/Controller/ControllerResolver.php +++ b/core/lib/Drupal/Core/Controller/ControllerResolver.php @@ -80,7 +80,7 @@ protected function createController($controller) { throw new \InvalidArgumentException(sprintf('Class "%s" does not exist.', $class)); } // @todo Remove the second in_array() once that interface has been removed. - if (in_array('Drupal\Core\Controller\ControllerInterface', class_implements($class)) || in_array('Drupal\Core\ControllerInterface', class_implements($class))) { + if (in_array('Drupal\Core\Controller\ControllerInterface', class_implements($class))) { $controller = $class::create($this->container); } else { diff --git a/core/modules/action/lib/Drupal/action/Controller/ActionController.php b/core/modules/action/lib/Drupal/action/Controller/ActionController.php index 00a3084..0672077 100644 --- a/core/modules/action/lib/Drupal/action/Controller/ActionController.php +++ b/core/modules/action/lib/Drupal/action/Controller/ActionController.php @@ -36,7 +36,7 @@ public function __construct(Connection $database) { } /** - * Implements \Drupal\Core\ControllerInterface::create(). + * {@inheritdoc} */ public static function create(ContainerInterface $container) { return new static($container->get('database')); diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Form/SettingsForm.php b/core/modules/aggregator/lib/Drupal/aggregator/Form/SettingsForm.php index 9a5cbde..a742e3c 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Form/SettingsForm.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Form/SettingsForm.php @@ -63,6 +63,7 @@ public function __construct(ConfigFactory $config_factory, AggregatorPluginManag } /** + * {@inheritdoc} * Implements \Drupal\Core\ControllerInterface::create(). */ public static function create(ContainerInterface $container) { diff --git a/core/modules/dblog/lib/Drupal/dblog/Controller/DbLogController.php b/core/modules/dblog/lib/Drupal/dblog/Controller/DbLogController.php index dcc0d6a..016f3b3 100644 --- a/core/modules/dblog/lib/Drupal/dblog/Controller/DbLogController.php +++ b/core/modules/dblog/lib/Drupal/dblog/Controller/DbLogController.php @@ -8,8 +8,8 @@ namespace Drupal\dblog\Controller; use Drupal\Component\Utility\Unicode; +use Drupal\Core\Controller\ControllerInterface; use Drupal\Core\Database\Connection; -use Drupal\Core\ControllerInterface; use Drupal\Core\Extension\ModuleHandlerInterface; use Symfony\Component\DependencyInjection\ContainerInterface; diff --git a/core/modules/entity_reference/lib/Drupal/entity_reference/EntityReferenceController.php b/core/modules/entity_reference/lib/Drupal/entity_reference/EntityReferenceController.php index 1c7eae4..b6099f1 100644 --- a/core/modules/entity_reference/lib/Drupal/entity_reference/EntityReferenceController.php +++ b/core/modules/entity_reference/lib/Drupal/entity_reference/EntityReferenceController.php @@ -36,7 +36,7 @@ public function __construct(EntityReferenceAutocomplete $entity_reference_autcom } /** - * Implements \Drupal\Core\ControllerInterface::create(). + * {@inheritdoc} */ public static function create(ContainerInterface $container) { return new static( diff --git a/core/modules/language/tests/language_test/lib/Drupal/language_test/Controller/LanguageTestController.php b/core/modules/language/tests/language_test/lib/Drupal/language_test/Controller/LanguageTestController.php index c3e4530..ed8844f 100644 --- a/core/modules/language/tests/language_test/lib/Drupal/language_test/Controller/LanguageTestController.php +++ b/core/modules/language/tests/language_test/lib/Drupal/language_test/Controller/LanguageTestController.php @@ -16,7 +16,7 @@ class LanguageTestController implements ControllerInterface { /** - * Implements \Drupal\Core\ControllerInterface::create(). + * {@inheritdoc} */ public static function create(ContainerInterface $container) { return new static(); diff --git a/core/modules/path/lib/Drupal/path/Form/DeleteForm.php b/core/modules/path/lib/Drupal/path/Form/DeleteForm.php index b1b3ddc..a710090 100644 --- a/core/modules/path/lib/Drupal/path/Form/DeleteForm.php +++ b/core/modules/path/lib/Drupal/path/Form/DeleteForm.php @@ -42,7 +42,7 @@ public function __construct(Path $path) { } /** - * Implements \Drupal\Core\ControllerInterface::create(). + * {@inheritdoc} */ public static function create(ContainerInterface $container) { return new static( diff --git a/core/modules/statistics/lib/Drupal/statistics/StatisticsSettingsForm.php b/core/modules/statistics/lib/Drupal/statistics/StatisticsSettingsForm.php index e5eddbc..d5d16c0 100644 --- a/core/modules/statistics/lib/Drupal/statistics/StatisticsSettingsForm.php +++ b/core/modules/statistics/lib/Drupal/statistics/StatisticsSettingsForm.php @@ -37,7 +37,7 @@ public function __construct(ConfigFactory $config_factory, ModuleHandler $module } /** - * Implements \Drupal\Core\ControllerInterface::create(). + * {@inheritdoc} */ public static function create(ContainerInterface $container) { return new static( diff --git a/core/modules/system/lib/Drupal/system/Form/DateFormatDeleteForm.php b/core/modules/system/lib/Drupal/system/Form/DateFormatDeleteForm.php index b56f3cf..8fccdeb 100644 --- a/core/modules/system/lib/Drupal/system/Form/DateFormatDeleteForm.php +++ b/core/modules/system/lib/Drupal/system/Form/DateFormatDeleteForm.php @@ -7,8 +7,8 @@ namespace Drupal\system\Form; +use Drupal\Core\Controller\ControllerInterface; use Drupal\Core\Form\ConfirmFormBase; -use Drupal\Core\ControllerInterface; use Drupal\Core\Config\ConfigFactory; use Symfony\Component\DependencyInjection\ContainerInterface; diff --git a/core/modules/system/lib/Drupal/system/Form/DateFormatLocalizeResetForm.php b/core/modules/system/lib/Drupal/system/Form/DateFormatLocalizeResetForm.php index a3576c5..1554b56 100644 --- a/core/modules/system/lib/Drupal/system/Form/DateFormatLocalizeResetForm.php +++ b/core/modules/system/lib/Drupal/system/Form/DateFormatLocalizeResetForm.php @@ -7,8 +7,8 @@ namespace Drupal\system\Form; +use Drupal\Core\Controller\ControllerInterface; use Drupal\Core\Form\ConfirmFormBase; -use Drupal\Core\ControllerInterface; use Drupal\Core\Config\ConfigFactory; use Symfony\Component\DependencyInjection\ContainerInterface; diff --git a/core/modules/system/lib/Drupal/system/SystemConfigFormBase.php b/core/modules/system/lib/Drupal/system/SystemConfigFormBase.php index f299f59..eb82bdc 100644 --- a/core/modules/system/lib/Drupal/system/SystemConfigFormBase.php +++ b/core/modules/system/lib/Drupal/system/SystemConfigFormBase.php @@ -39,7 +39,7 @@ public function __construct(ConfigFactory $config_factory, ContextInterface $con } /** - * Implements \Drupal\Core\ControllerInterface::create(). + * {@inheritdoc} */ public static function create(ContainerInterface $container) { return new static( diff --git a/core/modules/system/tests/modules/common_test/lib/Drupal/common_test/Controller/CommonTestController.php b/core/modules/system/tests/modules/common_test/lib/Drupal/common_test/Controller/CommonTestController.php index 050cb40..9b88bb1 100644 --- a/core/modules/system/tests/modules/common_test/lib/Drupal/common_test/Controller/CommonTestController.php +++ b/core/modules/system/tests/modules/common_test/lib/Drupal/common_test/Controller/CommonTestController.php @@ -16,7 +16,7 @@ class CommonTestController implements ControllerInterface { /** - * Implements \Drupal\Core\ControllerInterface::create(). + * {@inheritdoc} */ public static function create(ContainerInterface $container) { return new static(); diff --git a/core/modules/system/tests/modules/form_test/lib/Drupal/form_test/FormTestControllerObject.php b/core/modules/system/tests/modules/form_test/lib/Drupal/form_test/FormTestControllerObject.php index 76c9614..dbfc2e9 100644 --- a/core/modules/system/tests/modules/form_test/lib/Drupal/form_test/FormTestControllerObject.php +++ b/core/modules/system/tests/modules/form_test/lib/Drupal/form_test/FormTestControllerObject.php @@ -24,7 +24,7 @@ public function getFormID() { } /** - * Implements \Drupal\Core\ControllerInterface::create(). + * {@inheritdoc} */ public static function create(ContainerInterface $container) { drupal_set_message(t('The FormTestControllerObject::create() method was used for this form.')); diff --git a/core/modules/user/lib/Drupal/user/AccountSettingsForm.php b/core/modules/user/lib/Drupal/user/AccountSettingsForm.php index b3d0d17..5c8880b 100644 --- a/core/modules/user/lib/Drupal/user/AccountSettingsForm.php +++ b/core/modules/user/lib/Drupal/user/AccountSettingsForm.php @@ -41,7 +41,7 @@ public function __construct(ConfigFactory $config_factory, ContextInterface $con } /** - * Implements \Drupal\Core\ControllerInterface::create(). + * {@inheritdoc} */ public static function create(ContainerInterface $container) { return new static( diff --git a/core/modules/user/lib/Drupal/user/UserAutocompleteController.php b/core/modules/user/lib/Drupal/user/UserAutocompleteController.php index b098e39..e596d0e 100644 --- a/core/modules/user/lib/Drupal/user/UserAutocompleteController.php +++ b/core/modules/user/lib/Drupal/user/UserAutocompleteController.php @@ -35,7 +35,7 @@ public function __construct(UserAutocomplete $user_autocomplete) { } /** - * Implements \Drupal\Core\ControllerInterface::create(). + * {@inheritdoc} */ public static function create(ContainerInterface $container) { return new static( diff --git a/core/modules/views_ui/lib/Drupal/views_ui/Form/BreakLockForm.php b/core/modules/views_ui/lib/Drupal/views_ui/Form/BreakLockForm.php index f4a106d..936103c 100644 --- a/core/modules/views_ui/lib/Drupal/views_ui/Form/BreakLockForm.php +++ b/core/modules/views_ui/lib/Drupal/views_ui/Form/BreakLockForm.php @@ -55,7 +55,7 @@ public function __construct(EntityManager $entity_manager, TempStoreFactory $tem } /** - * Implements \Drupal\Core\ControllerInterface::create(). + * {@inheritdoc} */ public static function create(ContainerInterface $container) { return new static( diff --git a/core/modules/views_ui/lib/Drupal/views_ui/Routing/ViewsUIController.php b/core/modules/views_ui/lib/Drupal/views_ui/Routing/ViewsUIController.php index ce4a6be..cf79f57 100644 --- a/core/modules/views_ui/lib/Drupal/views_ui/Routing/ViewsUIController.php +++ b/core/modules/views_ui/lib/Drupal/views_ui/Routing/ViewsUIController.php @@ -65,7 +65,7 @@ public function __construct(EntityManager $entity_manager, ViewsData $views_data } /** - * Implements \Drupal\Core\ControllerInterface::create(). + * {@inheritdoc} */ public static function create(ContainerInterface $container) { return new static(