Commit a7a746a6 authored by jhodgdon's avatar jhodgdon

Issue #1757098 by PawelR, dudycz, moe4715: Fix up param/return type docs in WebTestBase methods

parent dcff9b78
......@@ -172,7 +172,7 @@ function __construct($test_id = NULL) {
* @param $reset
* (optional) Whether to reset the entity cache.
*
* @return
* @return \Drupal\node\Plugin\Core\Entity\Node
* A node entity matching $title.
*/
function drupalGetNodeByTitle($title, $reset = FALSE) {
......@@ -222,7 +222,7 @@ function drupalGetNodeByTitle($title, $reset = FALSE) {
* - revision: 1. (Backwards-compatible binary flag indicating whether a
* new revision should be created; use 1 to specify a new revision.)
*
* @return Drupal\node\Node
* @return \Drupal\node\Plugin\Core\Entity\Node
* The created node entity.
*/
protected function drupalCreateNode(array $settings = array()) {
......@@ -466,7 +466,7 @@ protected function drupalCompareFiles($file1, $file2) {
* @param string $name
* The user name.
*
* @return object|false
* @return \Drupal\user\Plugin\Core\Entity\User|false
* A fully loaded user object with pass_raw property, or FALSE if account
* creation fails.
*/
......@@ -619,7 +619,7 @@ protected function checkPermissions(array $permissions, $reset = FALSE) {
* $account->pass_raw = $pass_raw;
* @endcode
*
* @param $account
* @param \Drupal\user\Plugin\Core\Entity\User $account
* User object representing the user to log in.
*
* @see drupalCreateUser()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment