@@ -73,10 +73,11 @@ public function assertSelectorCount($count, $selector, $markup = '', $message =
73
73
*
74
74
* @since 1.0.0
75
75
*
76
- * @param array $attributes An array of HTML attributes that should be found on the element.
77
- * @param string $markup The output that should contain an element with the
78
- * provided $attributes.
79
- * @param string $message A message to display if the assertion fails.
76
+ * @param array<string, scalar> $attributes An array of HTML attributes that should be found
77
+ * on the element.
78
+ * @param string $markup The output that should contain an element with the
79
+ * provided $attributes.
80
+ * @param string $message A message to display if the assertion fails.
80
81
*
81
82
* @return void
82
83
*/
@@ -94,10 +95,11 @@ public function assertHasElementWithAttributes($attributes = [], $markup = '', $
94
95
*
95
96
* @since 1.0.0
96
97
*
97
- * @param array $attributes An array of HTML attributes that should be found on the element.
98
- * @param string $markup The output that should not contain an element with the
99
- * provided $attributes.
100
- * @param string $message A message to display if the assertion fails.
98
+ * @param array<string, scalar> $attributes An array of HTML attributes that should be found
99
+ * on the element.
100
+ * @param string $markup The output that should not contain an element with
101
+ * the provided $attributes.
102
+ * @param string $message A message to display if the assertion fails.
101
103
*
102
104
* @return void
103
105
*/
@@ -234,7 +236,7 @@ protected function executeDomQuery($markup, $query)
234
236
*
235
237
* @throws RiskyTestError When the $attributes array is empty.
236
238
*
237
- * @param array $attributes HTML attributes and their values.
239
+ * @param array<string, scalar> $attributes HTML attributes and their values.
238
240
*
239
241
* @return string A XPath attribute query selector.
240
242
*/
0 commit comments