@@ -470,6 +470,7 @@ |
||
| 470 | 470 | |
| 471 | 471 | /** |
| 472 | 472 | * @Then I should get a :code HTTP response |
| 473 | + * @param string $code |
|
| 473 | 474 | */ |
| 474 | 475 | public function assertHttpResponse($code) { |
| 475 | 476 | // Use the Mink Extension step definition. |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | * out' link text. |
| 137 | 137 | * @throws \Exception |
| 138 | 138 | * @return |
| 139 | - */ |
|
| 139 | + string |
|
| 140 | 140 | public function getDrupalText($name) { |
| 141 | 141 | $text = $this->getDrupalParameter('text'); |
| 142 | 142 | if (!isset($text[$name])) { |
@@ -147,6 +147,7 @@ discard block |
||
| 147 | 147 | |
| 148 | 148 | /** |
| 149 | 149 | * Get active Drupal Driver. |
| 150 | + * @param string $name |
|
| 150 | 151 | */ |
| 151 | 152 | public function getDriver($name = NULL) { |
| 152 | 153 | return $this->getDrupal()->getDriver($name); |
@@ -239,9 +240,9 @@ discard block |
||
| 239 | 240 | /** |
| 240 | 241 | * Dispatch scope hooks. |
| 241 | 242 | * |
| 242 | - * @param string $scope |
|
| 243 | + * @param string $scopeType |
|
| 243 | 244 | * The entity scope to dispatch. |
| 244 | - * @param stdClass $entity |
|
| 245 | + * @param \stdClass $entity |
|
| 245 | 246 | * The entity. |
| 246 | 247 | */ |
| 247 | 248 | protected function dispatchHooks($scopeType, \stdClass $entity) { |
@@ -441,7 +442,7 @@ discard block |
||
| 441 | 442 | /** |
| 442 | 443 | * Determine if the a user is already logged in. |
| 443 | 444 | * |
| 444 | - * @return boolean |
|
| 445 | + * @return \Behat\Mink\Element\NodeElement|null |
|
| 445 | 446 | * Returns TRUE if a user is logged in for this session. |
| 446 | 447 | */ |
| 447 | 448 | public function loggedIn() { |