Skip to content
Snippets Groups Projects
Verified Commit c66e4aae authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3456425 by mondrake, alexpott: FormStateInterface::setError*() PHPDoc are incorrect

(cherry picked from commit 82a5a701)
parent b61e8959
No related branches found
No related tags found
2 merge requests!11185Issue #3477324 by andypost, alexpott: Fix usage of str_getcsv() and fgetcsv() for PHP 8.4,!9944Issue #3483353: Consider making the createCopy config action optionally fail...
...@@ -536,7 +536,7 @@ public static function hasAnyErrors(); ...@@ -536,7 +536,7 @@ public static function hasAnyErrors();
* element is ['foo', 'bar', 'baz'] then you may set an error on 'foo' * element is ['foo', 'bar', 'baz'] then you may set an error on 'foo'
* or 'foo][bar][baz'. Setting an error on 'foo' sets an error for every * or 'foo][bar][baz'. Setting an error on 'foo' sets an error for every
* element where the #parents array starts with 'foo'. * element where the #parents array starts with 'foo'.
* @param string $message * @param string|\Stringable $message
* (optional) The error message to present to the user. * (optional) The error message to present to the user.
* *
* @return $this * @return $this
...@@ -548,7 +548,7 @@ public function setErrorByName($name, $message = ''); ...@@ -548,7 +548,7 @@ public function setErrorByName($name, $message = '');
* *
* @param array $element * @param array $element
* The form element. * The form element.
* @param string $message * @param string|\Stringable $message
* (optional) The error message to present to the user. * (optional) The error message to present to the user.
* *
* @return $this * @return $this
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment