Commit 65ba7703 authored by catch's avatar catch
Browse files

Issue #3214773 by jmsosso, Spokje: Wrong type hint for getActiveMultiple() and...

Issue #3214773 by jmsosso, Spokje: Wrong type hint for getActiveMultiple() and getCanonicalMultiple() in EntityRepositoryInterface

(cherry picked from commit f107d364049e2104e3ce402ee89d56d222bb6989)
parent 62ef2b44
......@@ -114,7 +114,7 @@ public function getActive($entity_type_id, $entity_id, array $contexts = NULL);
* entity will be edited in keyed by fully qualified context ID. Defaults to
* the currently available contexts.
*
* @return \Drupal\Core\Entity\EntityInterface
* @return \Drupal\Core\Entity\EntityInterface[]
* An array of entity object variants keyed by entity ID.
*
* @see getActive()
......@@ -160,7 +160,7 @@ public function getCanonical($entity_type_id, $entity_id, array $contexts = NULL
* entity will be edited in keyed by fully qualified context ID. Defaults to
* the currently available contexts.
*
* @return \Drupal\Core\Entity\EntityInterface
* @return \Drupal\Core\Entity\EntityInterface[]
* An array of entity object variants keyed by entity ID.
*
* @see getCanonical()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment