Completed
Pull Request — master (#327)
by Pieter
02:20
created
src/Drupal/DrupalExtension/Context/MessageContext.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
   /**
22 22
    * Checks if the current page contains the given error message
23 23
    *
24
-   * @param $message
24
+   * @param string $message
25 25
    *   string The text to be checked
26 26
    *
27 27
    * @Then I should see the error message( containing) :message
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
   /**
54 54
    * Checks if the current page does not contain the given error message
55 55
    *
56
-   * @param $message
56
+   * @param string $message
57 57
    *   string The text to be checked
58 58
    *
59 59
    * @Given I should not see the error message( containing) :message
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
   /**
85 85
    * Checks if the current page contains the given success message
86 86
    *
87
-   * @param $message
87
+   * @param string $message
88 88
    *   string The text to be checked
89 89
    *
90 90
    * @Then I should see the success message( containing) :message
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
   /**
117 117
    * Checks if the current page does not contain the given set of success message
118 118
    *
119
-   * @param $message
119
+   * @param string $message
120 120
    *   string The text to be checked
121 121
    *
122 122
    * @Given I should not see the success message( containing) :message
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
   /**
148 148
    * Checks if the current page contains the given warning message
149 149
    *
150
-   * @param $message
150
+   * @param string $message
151 151
    *   string The text to be checked
152 152
    *
153 153
    * @Then I should see the warning message( containing) :message
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
   /**
180 180
    * Checks if the current page does not contain the given set of warning message
181 181
    *
182
-   * @param $message
182
+   * @param string $message
183 183
    *   string The text to be checked
184 184
    *
185 185
    * @Given I should not see the warning message( containing) :message
@@ -245,12 +245,12 @@  discard block
 block discarded – undo
245 245
    *
246 246
    * @param $message
247 247
    *   string The message to be checked
248
-   * @param $selectorId
248
+   * @param string $selectorId
249 249
    *   string CSS selector name
250
-   * @param $exceptionMsgNone
250
+   * @param string $exceptionMsgNone
251 251
    *   string The message being thrown when no message is contained, string
252 252
    *   should contain one '%s' as a placeholder for the current URL
253
-   * @param $exceptionMsgMissing
253
+   * @param string $exceptionMsgMissing
254 254
    *   string The message being thrown when the message is not contained, string
255 255
    *   should contain two '%s' as placeholders for the current URL and the message.
256 256
    *
@@ -276,9 +276,9 @@  discard block
 block discarded – undo
276 276
    *
277 277
    * @param $message
278 278
    *   string The message to be checked
279
-   * @param $selectorId
279
+   * @param string $selectorId
280 280
    *   string CSS selector name
281
-   * @param $exceptionMsg
281
+   * @param string $exceptionMsg
282 282
    *   string The message being thrown when the message is contained, string
283 283
    *   should contain two '%s' as placeholders for the current URL and the message.
284 284
    *
Please login to merge, or discard this patch.