diff --git a/app/code/Magento/Eav/Model/Config.php b/app/code/Magento/Eav/Model/Config.php
index 89d0bc93c80073ae3f305445f808305265ab9848..0d0237a1f6732cd06f540caa0c4f114947afeb6e 100644
--- a/app/code/Magento/Eav/Model/Config.php
+++ b/app/code/Magento/Eav/Model/Config.php
@@ -105,6 +105,7 @@ class Config
      * @param \Magento\Eav\Model\ResourceModel\Entity\Type\CollectionFactory $entityTypeCollectionFactory
      * @param \Magento\Framework\App\Cache\StateInterface $cacheState
      * @param \Magento\Framework\Validator\UniversalFactory $universalFactory
+     * @param SerializerInterface $serializer
      * @codeCoverageIgnore
      */
     public function __construct(
diff --git a/app/code/Magento/Eav/Plugin/Model/ResourceModel/Entity/Attribute.php b/app/code/Magento/Eav/Plugin/Model/ResourceModel/Entity/Attribute.php
index 3452d452ac490c759c33e8e380acb0593de63125..56bad8bf75e11e8329f895d62f5ccb9e5faa3148 100644
--- a/app/code/Magento/Eav/Plugin/Model/ResourceModel/Entity/Attribute.php
+++ b/app/code/Magento/Eav/Plugin/Model/ResourceModel/Entity/Attribute.php
@@ -47,7 +47,7 @@ class Attribute
     ) {
         $this->cache = $cache;
         $this->serializer = $serializer;
-        $this->cacheState = $cacheState;;
+        $this->cacheState = $cacheState;
     }
 
     /**