Skip to content
Snippets Groups Projects
Unverified Commit 4055b4ad authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3177765 by klausi: ListInterface::first() return value is documented wrong

(cherry picked from commit 7655860e)
parent 2c50387f
No related branches found
No related tags found
No related merge requests found
......@@ -83,8 +83,8 @@ public function set($index, $value);
/**
* Returns the first item in this list.
*
* @return \Drupal\Core\TypedData\TypedDataInterface
* The first item in this list.
* @return \Drupal\Core\TypedData\TypedDataInterface|null
* The first item in this list, or NULL if there are no items.
*
* @throws \Drupal\Core\TypedData\Exception\MissingDataException
* If the complex data structure is unset and no item can be created.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment