Issue #2794735 by harings_rob: Wrong documentation on Drupal\rest\Plugin\rest\resource\EntityResource (cherry picked from commit 7f43b7ba)