Issue by Spokje: Update @return in PHPDocBlock of NodeCreationTrait::getNodeByTitle

merge-requests/3463/head
catch 2023-02-13 13:30:59 +00:00
parent 55405352cb
commit de20700e9e
1 changed files with 2 additions and 2 deletions
core/modules/node/tests/src/Traits

View File

@ -20,8 +20,8 @@ trait NodeCreationTrait {
* @param $reset
* (optional) Whether to reset the entity cache.
*
* @return \Drupal\node\NodeInterface
* A node entity matching $title.
* @return \Drupal\node\NodeInterface|false
* A node entity matching $title, FALSE when node with $title is not found.
*/
public function getNodeByTitle($title, $reset = FALSE) {
if ($reset) {