Skip to content
Snippets Groups Projects
Unverified Commit 4be96530 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 ecb9c502
Branches
Tags
7 merge requests!1286issue #3240655 by elfakhar,!1285Issue #3240655 by elfakhar Aligne the active border,!541Issue #3123070: Fix 'PSR2.Classes.PropertyDeclaration.Underscore' coding standard,!463Resolve #3205025 "Class align center for media",!386Allow multiple vocabularies in the taxonomy filter,!308Issue #3118206: Remote media does not validate provider,!35Issue #3164686 WebAssert::addressEquals() and AssertLegacyTrait::assertUrl() fail to check the querystring
......@@ -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.
Please register or to comment