@@ -38,7 +38,7 @@ |
||
| 38 | 38 | * @param string $value |
| 39 | 39 | * Expected value in column. |
| 40 | 40 | * |
| 41 | - * @return int |
|
| 41 | + * @return string |
|
| 42 | 42 | */ |
| 43 | 43 | public function getIdByArguments($column, $value) |
| 44 | 44 | { |
@@ -5,17 +5,17 @@ |
||
| 5 | 5 | namespace Drupal\TqExtension\Context\Form; |
| 6 | 6 | |
| 7 | 7 | // Exceptions. |
| 8 | -use Symfony\Component\Filesystem\Exception\FileNotFoundException; |
|
| 9 | 8 | use Behat\Mink\Exception\ElementNotFoundException; |
| 9 | +use Symfony\Component\Filesystem\Exception\FileNotFoundException; |
|
| 10 | 10 | use WebDriver\Exception\NoSuchElement; |
| 11 | 11 | // Helpers. |
| 12 | 12 | use Behat\Gherkin\Node\TableNode; |
| 13 | -use WebDriver\Service\CurlService; |
|
| 14 | 13 | use Behat\Mink\Element\NodeElement; |
| 14 | +use WebDriver\Service\CurlService; |
|
| 15 | 15 | // Utils. |
| 16 | 16 | use Drupal\TqExtension\Utils\DatePicker; |
| 17 | -use Drupal\TqExtension\Utils\FormValueAssertion; |
|
| 18 | 17 | use Drupal\TqExtension\Utils\EntityDrupalWrapper; |
| 18 | +use Drupal\TqExtension\Utils\FormValueAssertion; |
|
| 19 | 19 | |
| 20 | 20 | class FormContext extends RawFormContext |
| 21 | 21 | { |
@@ -12,6 +12,7 @@ |
||
| 12 | 12 | * Set context parameters from behat.yml. |
| 13 | 13 | * |
| 14 | 14 | * @param array $parameters |
| 15 | + * @return void |
|
| 15 | 16 | */ |
| 16 | 17 | public function setTqParameters(array $parameters); |
| 17 | 18 | } |