Commit de20700e authored by catch's avatar catch
Browse files

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

parent 55405352
Loading
Loading
Loading
Loading
+2 −2
Changes for core/modules/node/tests/src/Traits/NodeCreationTrait.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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) {