Commit 501f18eb authored by jhodgdon's avatar jhodgdon

Issue #2604018 by heykarthikwithu, snehi, kaushalkishorejaiswal, pjonckiere:...

Issue #2604018 by heykarthikwithu, snehi, kaushalkishorejaiswal, pjonckiere: Add @param documentation in __construct() of User module

(cherry picked from commit cbe1e395)
parent aaabb05c
...@@ -55,10 +55,14 @@ class PrivateTempStoreFactory { ...@@ -55,10 +55,14 @@ class PrivateTempStoreFactory {
/** /**
* Constructs a Drupal\user\PrivateTempStoreFactory object. * Constructs a Drupal\user\PrivateTempStoreFactory object.
* *
* @param \Drupal\Core\Database\Connection $connection * @param \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface $storage_factory
* The connection object used for this data. * The key/value store factory.
* @param \Drupal\Core\Lock\LockBackendInterface $lockBackend * @param \Drupal\Core\Lock\LockBackendInterface $lockBackend
* The lock object used for this data. * The lock object used for this data.
* @param \Drupal\Core\Session\AccountProxyInterface $current_user
* The current account.
* @param \Symfony\Component\HttpFoundation\RequestStack $request_stack
* The request stack.
* @param int $expire * @param int $expire
* The time to live for items, in seconds. * The time to live for items, in seconds.
*/ */
......
...@@ -47,8 +47,8 @@ class SharedTempStoreFactory { ...@@ -47,8 +47,8 @@ class SharedTempStoreFactory {
/** /**
* Constructs a Drupal\user\SharedTempStoreFactory object. * Constructs a Drupal\user\SharedTempStoreFactory object.
* *
* @param \Drupal\Core\Database\Connection $connection * @param \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface $storage_factory
* The connection object used for this data. * The key/value store factory.
* @param \Drupal\Core\Lock\LockBackendInterface $lockBackend * @param \Drupal\Core\Lock\LockBackendInterface $lockBackend
* The lock object used for this data. * The lock object used for this data.
* @param \Symfony\Component\HttpFoundation\RequestStack $request_stack * @param \Symfony\Component\HttpFoundation\RequestStack $request_stack
......
...@@ -56,6 +56,8 @@ class AdminNegotiator implements ThemeNegotiatorInterface { ...@@ -56,6 +56,8 @@ class AdminNegotiator implements ThemeNegotiatorInterface {
* The config factory. * The config factory.
* @param \Drupal\Core\Entity\EntityManagerInterface $entity_manager * @param \Drupal\Core\Entity\EntityManagerInterface $entity_manager
* The entity manager. * The entity manager.
* @param \Drupal\Core\Routing\AdminContext $admin_context
* The route admin context to determine whether the route is an admin one.
*/ */
public function __construct(AccountInterface $user, ConfigFactoryInterface $config_factory, EntityManagerInterface $entity_manager, AdminContext $admin_context) { public function __construct(AccountInterface $user, ConfigFactoryInterface $config_factory, EntityManagerInterface $entity_manager, AdminContext $admin_context) {
$this->user = $user; $this->user = $user;
......
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