Commit e1067e78 authored by sanduhrs's avatar sanduhrs

Update to latest coding standards

parent bee6408e
......@@ -25,9 +25,7 @@ class Authmap {
* @param \Drupal\Core\Database\Connection $connection
* A database connection.
*/
public function __construct(
Connection $connection
) {
public function __construct(Connection $connection) {
$this->connection = $connection;
}
......
......@@ -159,8 +159,8 @@ class Claims implements ContainerInjectionInterface {
* The module handler.
*/
public function __construct(
ConfigFactory $config_factory,
ModuleHandler $module_handler
ConfigFactory $config_factory,
ModuleHandler $module_handler
) {
$this->configFactory = $config_factory;
......
......@@ -54,10 +54,10 @@ class RedirectController extends ControllerBase implements AccessInterface {
* {@inheritdoc}
*/
public function __construct(
OpenIDConnectClientManager $plugin_manager,
RequestStack $request_stack,
LoggerChannelFactory $logger_factory,
AccountInterface $current_user
OpenIDConnectClientManager $plugin_manager,
RequestStack $request_stack,
LoggerChannelFactory $logger_factory,
AccountInterface $current_user
) {
$this->pluginManager = $plugin_manager;
......
......@@ -71,11 +71,11 @@ class AccountsForm extends FormBase implements ContainerInjectionInterface {
* The config factory.
*/
public function __construct(
AccountProxy $current_user,
Authmap $authmap,
Claims $claims,
OpenIDConnectClientManager $plugin_manager,
ConfigFactory $config_factory
AccountProxy $current_user,
Authmap $authmap,
Claims $claims,
OpenIDConnectClientManager $plugin_manager,
ConfigFactory $config_factory
) {
$this->currentUser = $current_user;
......
......@@ -39,8 +39,8 @@ class LoginForm extends FormBase implements ContainerInjectionInterface {
* The OpenID Connect claims.
*/
public function __construct(
OpenIDConnectClientManager $plugin_manager,
Claims $claims
OpenIDConnectClientManager $plugin_manager,
Claims $claims
) {
$this->pluginManager = $plugin_manager;
......
......@@ -52,10 +52,10 @@ class SettingsForm extends ConfigFormBase implements ContainerInjectionInterface
* The claims.
*/
public function __construct(
ConfigFactoryInterface $config_factory,
OpenIDConnectClientManager $plugin_manager,
EntityFieldManagerInterface $entity_field_manager,
Claims $claims
ConfigFactoryInterface $config_factory,
OpenIDConnectClientManager $plugin_manager,
EntityFieldManagerInterface $entity_field_manager,
Claims $claims
) {
parent::__construct($config_factory);
$this->pluginManager = $plugin_manager;
......
......@@ -47,11 +47,11 @@ class LoginBlock extends BlockBase implements ContainerFactoryPluginInterface {
* The form builder.
*/
public function __construct(
array $configuration,
$plugin_id,
$plugin_definition,
OpenIDConnectClientManager $plugin_manager,
FormBuilder $form_builder
array $configuration,
$plugin_id,
$plugin_definition,
OpenIDConnectClientManager $plugin_manager,
FormBuilder $form_builder
) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
......
......@@ -24,9 +24,9 @@ class OpenIDConnectClientManager extends DefaultPluginManager {
* The module handler to invoke the alter hook with.
*/
public function __construct(
Traversable $namespaces,
CacheBackendInterface $cache_backend,
ModuleHandlerInterface $module_handler
Traversable $namespaces,
CacheBackendInterface $cache_backend,
ModuleHandlerInterface $module_handler
) {
parent::__construct(
'Plugin/OpenIDConnectClient',
......
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