diff --git a/core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php b/core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php
index ef531b4..1ffc6d6 100644
--- a/core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php
+++ b/core/modules/views/src/Plugin/Derivative/ViewsLocalTask.php
@@ -38,7 +38,7 @@ class ViewsLocalTask extends DeriverBase implements ContainerDeriverInterface {
    *
    * @param \Drupal\Core\Routing\RouteProviderInterface $route_provider
    *   The route provider.
-   * @param \Drupal\Core\KeyValueStore\KeyValueStoreInterface $state
+   * @param \Drupal\Core\State\StateInterface $state
    *   The state key value store.
    */
   public function __construct(RouteProviderInterface $route_provider, StateInterface $state) {
@@ -142,6 +142,7 @@ public function alterLocalTasks(&$local_tasks) {
    *
    * @return array
    *   A list of arrays containing the $view and $display_id.
+   *
    * @code
    * array(
    *   array($view, $display_id),
