Loading src/Form/FloodUnblockAdminForm.php +4 −4 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Url; use Symfony\Component\DependencyInjection\ContainerInterface; use Drupal\flood_control\FloodUnblockManager; use Drupal\Core\Session\AccountProxy; use Drupal\Core\Session\AccountProxyInterface; /** * Admin form of Flood Unblock. Loading Loading @@ -47,7 +47,7 @@ class FloodUnblockAdminForm extends FormBase { /** * Current user object. * * @var \Drupal\Core\Session\AccountProxy * @var \Drupal\Core\Session\AccountProxyInterface */ protected $currentUser; Loading @@ -60,10 +60,10 @@ class FloodUnblockAdminForm extends FormBase { * The database connection. * @param \Drupal\Core\Datetime\DateFormatterInterface $date_formatter * The date formatter service. * @param \Drupal\Core\Session\AccountProxy $currentUser * @param \Drupal\Core\Session\AccountProxyInterface $currentUser * The current user service. */ public function __construct(FloodUnblockManager $floodUnblockManager, Connection $database, DateFormatterInterface $date_formatter, AccountProxy $currentUser) { public function __construct(FloodUnblockManager $floodUnblockManager, Connection $database, DateFormatterInterface $date_formatter, AccountProxyInterface $currentUser) { $this->floodUnblockManager = $floodUnblockManager; $this->database = $database; $this->dateFormatter = $date_formatter; Loading Loading
src/Form/FloodUnblockAdminForm.php +4 −4 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Url; use Symfony\Component\DependencyInjection\ContainerInterface; use Drupal\flood_control\FloodUnblockManager; use Drupal\Core\Session\AccountProxy; use Drupal\Core\Session\AccountProxyInterface; /** * Admin form of Flood Unblock. Loading Loading @@ -47,7 +47,7 @@ class FloodUnblockAdminForm extends FormBase { /** * Current user object. * * @var \Drupal\Core\Session\AccountProxy * @var \Drupal\Core\Session\AccountProxyInterface */ protected $currentUser; Loading @@ -60,10 +60,10 @@ class FloodUnblockAdminForm extends FormBase { * The database connection. * @param \Drupal\Core\Datetime\DateFormatterInterface $date_formatter * The date formatter service. * @param \Drupal\Core\Session\AccountProxy $currentUser * @param \Drupal\Core\Session\AccountProxyInterface $currentUser * The current user service. */ public function __construct(FloodUnblockManager $floodUnblockManager, Connection $database, DateFormatterInterface $date_formatter, AccountProxy $currentUser) { public function __construct(FloodUnblockManager $floodUnblockManager, Connection $database, DateFormatterInterface $date_formatter, AccountProxyInterface $currentUser) { $this->floodUnblockManager = $floodUnblockManager; $this->database = $database; $this->dateFormatter = $date_formatter; Loading