diff --git a/core/modules/rest/src/Plugin/Deriver/EntityDeriver.php b/core/modules/rest/src/Plugin/Deriver/EntityDeriver.php
index aa4ca66dfd78de2054e04ee39de0486e4b5e95ae..5aebf1008f86ee59e913139d95c5558a87b0e206 100644
--- a/core/modules/rest/src/Plugin/Deriver/EntityDeriver.php
+++ b/core/modules/rest/src/Plugin/Deriver/EntityDeriver.php
@@ -33,7 +33,7 @@ class EntityDeriver implements ContainerDeriverInterface {
   protected $entityManager;
 
   /**
-   * Constructs an EntityDerivative object.
+   * Constructs an EntityDeriver object.
    *
    * @param \Drupal\Core\Entity\EntityManagerInterface $entity_manager
    *   The entity manager.
diff --git a/core/modules/rest/src/Plugin/rest/resource/EntityResource.php b/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
index 4b4d0278a91cd2b5fd1f1bd077cabb654cfcfcc9..34b0bdaa5c2b1c80fcefeb72da069c2b3aa0ad6b 100644
--- a/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
+++ b/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
@@ -29,7 +29,7 @@
  *   }
  * )
  *
- * @see \Drupal\rest\Plugin\Derivative\EntityDerivative
+ * @see \Drupal\rest\Plugin\Deriver\EntityDeriver
  */
 class EntityResource extends ResourceBase {