summaryrefslogtreecommitdiffstats
path: root/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
diff options
context:
space:
mode:
authorAlex Pott2016-09-22 14:25:13 +0100
committerAlex Pott2016-09-22 14:25:13 +0100
commit7f43b7ba676ff93f7110aa4124d18ad0dbaf479b (patch)
tree279b7c150550a5dc80312b689d6d5eeef25be805 /core/modules/rest/src/Plugin/rest/resource/EntityResource.php
parent761657a7dc71b423eed2e8377f5dfa055a08ee6b (diff)
Issue #2794735 by harings_rob: Wrong documentation on Drupal\rest\Plugin\rest\resource\EntityResource
Diffstat (limited to 'core/modules/rest/src/Plugin/rest/resource/EntityResource.php')
-rw-r--r--core/modules/rest/src/Plugin/rest/resource/EntityResource.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/modules/rest/src/Plugin/rest/resource/EntityResource.php b/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
index d6833c0..78ee0c9 100644
--- a/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
+++ b/core/modules/rest/src/Plugin/rest/resource/EntityResource.php
@@ -98,7 +98,7 @@ class EntityResource extends ResourceBase implements DependentPluginInterface {
* @param \Drupal\Core\Entity\EntityInterface $entity
* The entity object.
*
- * @return \Drupal\rest\ModifiedResourceResponse
+ * @return \Drupal\rest\ResourceResponse
* The response containing the entity with its accessible fields.
*
* @throws \Symfony\Component\HttpKernel\Exception\HttpException
@@ -134,7 +134,7 @@ class EntityResource extends ResourceBase implements DependentPluginInterface {
* @param \Drupal\Core\Entity\EntityInterface $entity
* The entity.
*
- * @return \Drupal\rest\ResourceResponse
+ * @return \Drupal\rest\ModifiedResourceResponse
* The HTTP response object.
*
* @throws \Symfony\Component\HttpKernel\Exception\HttpException
@@ -186,7 +186,7 @@ class EntityResource extends ResourceBase implements DependentPluginInterface {
* @param \Drupal\Core\Entity\EntityInterface $entity
* The entity.
*
- * @return \Drupal\rest\ResourceResponse
+ * @return \Drupal\rest\ModifiedResourceResponse
* The HTTP response object.
*
* @throws \Symfony\Component\HttpKernel\Exception\HttpException
@@ -250,7 +250,7 @@ class EntityResource extends ResourceBase implements DependentPluginInterface {
* @param \Drupal\Core\Entity\EntityInterface $entity
* The entity object.
*
- * @return \Drupal\rest\ResourceResponse
+ * @return \Drupal\rest\ModifiedResourceResponse
* The HTTP response object.
*
* @throws \Symfony\Component\HttpKernel\Exception\HttpException