Issue #3337501 by Spokje: Update @return in PHPDocBlock of NodeCreationTrait::getNodeByTitle
parent
55405352cb
commit
de20700e9e
core/modules/node/tests/src/Traits
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue