From 9628a9cc35e3c6e7412bae409ce23b8cb500c982 Mon Sep 17 00:00:00 2001 From: Steve Grunwell <233836+stevegrunwell@users.noreply.github.com> Date: Wed, 15 Nov 2023 20:30:28 -0500 Subject: [PATCH] Expand the @param tags for array arguments --- src/MarkupAssertionsTrait.php | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/MarkupAssertionsTrait.php b/src/MarkupAssertionsTrait.php index 3a80d3a..cde4ecc 100644 --- a/src/MarkupAssertionsTrait.php +++ b/src/MarkupAssertionsTrait.php @@ -73,10 +73,11 @@ public function assertSelectorCount($count, $selector, $markup = '', $message = * * @since 1.0.0 * - * @param array $attributes An array of HTML attributes that should be found on the element. - * @param string $markup The output that should contain an element with the - * provided $attributes. - * @param string $message A message to display if the assertion fails. + * @param array $attributes An array of HTML attributes that should be found + * on the element. + * @param string $markup The output that should contain an element with the + * provided $attributes. + * @param string $message A message to display if the assertion fails. * * @return void */ @@ -94,10 +95,11 @@ public function assertHasElementWithAttributes($attributes = [], $markup = '', $ * * @since 1.0.0 * - * @param array $attributes An array of HTML attributes that should be found on the element. - * @param string $markup The output that should not contain an element with the - * provided $attributes. - * @param string $message A message to display if the assertion fails. + * @param array $attributes An array of HTML attributes that should be found + * on the element. + * @param string $markup The output that should not contain an element with + * the provided $attributes. + * @param string $message A message to display if the assertion fails. * * @return void */ @@ -234,7 +236,7 @@ protected function executeDomQuery($markup, $query) * * @throws RiskyTestError When the $attributes array is empty. * - * @param array $attributes HTML attributes and their values. + * @param array $attributes HTML attributes and their values. * * @return string A XPath attribute query selector. */