Completed
Push — master ( 3e2cfb...e8c489 )
by Pieter
06:46
created
src/Drupal/DrupalExtension/Context/MessageContext.php 1 patch
Doc Comments   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
   /**
24 24
    * Checks if the current page contains the given error message
25 25
    *
26
-   * @param $message
26
+   * @param string $message
27 27
    *   string The text to be checked
28 28
    *
29 29
    * @Then I should see the error message( containing) :message
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
   /**
42 42
    * Checks if the current page contains the given set of error messages
43 43
    *
44
-   * @param array $messages
44
+   * @param TableNode $messages
45 45
    *   An array of texts to be checked. The first row should consist of the
46 46
    *   string "Error messages".
47 47
    *
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
   /**
61 61
    * Checks if the current page does not contain the given error message
62 62
    *
63
-   * @param $message
63
+   * @param string $message
64 64
    *   string The text to be checked
65 65
    *
66 66
    * @Given I should not see the error message( containing) :message
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
   /**
78 78
    * Checks if the current page does not contain the given set error messages
79 79
    *
80
-   * @param array $messages
80
+   * @param TableNode $messages
81 81
    *   An array of texts to be checked. The first row should consist of the
82 82
    *   string "Error messages".
83 83
    *
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
   /**
97 97
    * Checks if the current page contains the given success message
98 98
    *
99
-   * @param $message
99
+   * @param string $message
100 100
    *   string The text to be checked
101 101
    *
102 102
    * @Then I should see the success message( containing) :message
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
   /**
115 115
    * Checks if the current page contains the given set of success messages
116 116
    *
117
-   * @param array $message
117
+   * @param array $messages
118 118
    *   An array of texts to be checked. The first row should consist of the
119 119
    *   string "Success messages".
120 120
    *
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
   /**
134 134
    * Checks if the current page does not contain the given set of success message
135 135
    *
136
-   * @param $message
136
+   * @param string $message
137 137
    *   string The text to be checked
138 138
    *
139 139
    * @Given I should not see the success message( containing) :message
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
   /**
151 151
    * Checks if the current page does not contain the given set of success messages
152 152
    *
153
-   * @param array $message
153
+   * @param array $messages
154 154
    *   An array of texts to be checked. The first row should consist of the
155 155
    *   string "Success messages".
156 156
    *
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
   /**
170 170
    * Checks if the current page contains the given warning message
171 171
    *
172
-   * @param $message
172
+   * @param string $message
173 173
    *   string The text to be checked
174 174
    *
175 175
    * @Then I should see the warning message( containing) :message
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
   /**
188 188
    * Checks if the current page contains the given set of warning messages
189 189
    *
190
-   * @param array $message
190
+   * @param array $messages
191 191
    *   An array of texts to be checked. The first row should consist of the
192 192
    *   string "Warning messages".
193 193
    *
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
   /**
207 207
    * Checks if the current page does not contain the given set of warning message
208 208
    *
209
-   * @param $message
209
+   * @param string $message
210 210
    *   string The text to be checked
211 211
    *
212 212
    * @Given I should not see the warning message( containing) :message
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
   /**
224 224
    * Checks if the current page does not contain the given set of warning messages
225 225
    *
226
-   * @param array $message
226
+   * @param array $messages
227 227
    *   An array of texts to be checked. The first row should consist of the
228 228
    *   string "Warning messages".
229 229
    *
@@ -308,12 +308,12 @@  discard block
 block discarded – undo
308 308
    *
309 309
    * @param $message
310 310
    *   string The message to be checked
311
-   * @param $selectorId
311
+   * @param string $selectorId
312 312
    *   string CSS selector name
313
-   * @param $exceptionMsgNone
313
+   * @param string $exceptionMsgNone
314 314
    *   string The message being thrown when no message is contained, string
315 315
    *   should contain one '%s' as a placeholder for the current URL
316
-   * @param $exceptionMsgMissing
316
+   * @param string $exceptionMsgMissing
317 317
    *   string The message being thrown when the message is not contained, string
318 318
    *   should contain two '%s' as placeholders for the current URL and the message.
319 319
    *
@@ -340,9 +340,9 @@  discard block
 block discarded – undo
340 340
    *
341 341
    * @param $message
342 342
    *   string The message to be checked
343
-   * @param $selectorId
343
+   * @param string $selectorId
344 344
    *   string CSS selector name
345
-   * @param $exceptionMsg
345
+   * @param string $exceptionMsg
346 346
    *   string The message being thrown when the message is contained, string
347 347
    *   should contain two '%s' as placeholders for the current URL and the message.
348 348
    *
Please login to merge, or discard this patch.