Skip to content

Commit d58c22d

Browse files
Merge branch '6.2' into 6.3
* 6.2: CS fix Fix test provider
2 parents 3d3f1f4 + 65a906f commit d58c22d

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

Crawler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ public function clear()
109109
*
110110
* @param \DOMNodeList|\DOMNode|\DOMNode[]|string|null $node A node
111111
*
112-
* @throws \InvalidArgumentException when node is not the expected type
113-
*
114112
* @return void
113+
*
114+
* @throws \InvalidArgumentException when node is not the expected type
115115
*/
116116
public function add(\DOMNodeList|\DOMNode|array|string|null $node)
117117
{

Field/ChoiceFormField.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ public function select(string|array|bool $value)
7171
/**
7272
* Ticks a checkbox.
7373
*
74-
* @throws \LogicException When the type provided is not correct
75-
*
7674
* @return void
75+
*
76+
* @throws \LogicException When the type provided is not correct
7777
*/
7878
public function tick()
7979
{
@@ -87,9 +87,9 @@ public function tick()
8787
/**
8888
* Unticks a checkbox.
8989
*
90-
* @throws \LogicException When the type provided is not correct
91-
*
9290
* @return void
91+
*
92+
* @throws \LogicException When the type provided is not correct
9393
*/
9494
public function untick()
9595
{
@@ -103,9 +103,9 @@ public function untick()
103103
/**
104104
* Sets the value of the field.
105105
*
106-
* @throws \InvalidArgumentException When value type provided is not correct
107-
*
108106
* @return void
107+
*
108+
* @throws \InvalidArgumentException When value type provided is not correct
109109
*/
110110
public function setValue(string|array|bool|null $value)
111111
{
@@ -182,9 +182,9 @@ public function isMultiple(): bool
182182
/**
183183
* Initializes the form field.
184184
*
185-
* @throws \LogicException When node type is incorrect
186-
*
187185
* @return void
186+
*
187+
* @throws \LogicException When node type is incorrect
188188
*/
189189
protected function initialize()
190190
{

Field/FileFormField.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ class FileFormField extends FormField
2323
*
2424
* @param int $error The error code (one of UPLOAD_ERR_INI_SIZE, UPLOAD_ERR_FORM_SIZE, UPLOAD_ERR_PARTIAL, UPLOAD_ERR_NO_FILE, UPLOAD_ERR_NO_TMP_DIR, UPLOAD_ERR_CANT_WRITE, or UPLOAD_ERR_EXTENSION)
2525
*
26-
* @throws \InvalidArgumentException When error code doesn't exist
27-
*
2826
* @return void
27+
*
28+
* @throws \InvalidArgumentException When error code doesn't exist
2929
*/
3030
public function setErrorCode(int $error)
3131
{
@@ -93,9 +93,9 @@ public function setFilePath(string $path)
9393
/**
9494
* Initializes the form field.
9595
*
96-
* @throws \LogicException When node type is incorrect
97-
*
9896
* @return void
97+
*
98+
* @throws \LogicException When node type is incorrect
9999
*/
100100
protected function initialize()
101101
{

Field/InputFormField.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ class InputFormField extends FormField
2424
/**
2525
* Initializes the form field.
2626
*
27-
* @throws \LogicException When node type is incorrect
28-
*
2927
* @return void
28+
*
29+
* @throws \LogicException When node type is incorrect
3030
*/
3131
protected function initialize()
3232
{

Field/TextareaFormField.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ class TextareaFormField extends FormField
2121
/**
2222
* Initializes the form field.
2323
*
24-
* @throws \LogicException When node type is incorrect
25-
*
2624
* @return void
25+
*
26+
* @throws \LogicException When node type is incorrect
2727
*/
2828
protected function initialize()
2929
{

Form.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,9 +353,9 @@ public function disableValidation(): static
353353
*
354354
* Expects a 'submit' button \DOMElement and finds the corresponding form element, or the form element itself.
355355
*
356-
* @throws \LogicException If given node is not a button or input or does not have a form ancestor
357-
*
358356
* @return void
357+
*
358+
* @throws \LogicException If given node is not a button or input or does not have a form ancestor
359359
*/
360360
protected function setNode(\DOMElement $node)
361361
{

0 commit comments

Comments
 (0)