Upgrade 1-11.38

This commit is contained in:
xesmyd
2026-03-30 14:10:30 +02:00
parent f2a7e6d1fc
commit ac648ef29d
24665 changed files with 69682 additions and 2205004 deletions
+8 -8
View File
@@ -32,7 +32,7 @@ class FormConfigBuilder implements FormConfigBuilderInterface
*
* @var NativeRequestHandler
*/
private static $nativeRequestProcessor;
private static $nativeRequestHandler;
/**
* The accepted request methods.
@@ -185,8 +185,8 @@ class FormConfigBuilder implements FormConfigBuilderInterface
* @param EventDispatcherInterface $dispatcher The event dispatcher
* @param array $options The form options
*
* @throws InvalidArgumentException If the data class is not a valid class or if
* the name contains invalid characters.
* @throws InvalidArgumentException if the data class is not a valid class or if
* the name contains invalid characters
*/
public function __construct($name, $dataClass, EventDispatcherInterface $dispatcher, array $options = array())
{
@@ -496,10 +496,10 @@ class FormConfigBuilder implements FormConfigBuilderInterface
public function getRequestHandler()
{
if (null === $this->requestHandler) {
if (null === self::$nativeRequestProcessor) {
self::$nativeRequestProcessor = new NativeRequestHandler();
if (null === self::$nativeRequestHandler) {
self::$nativeRequestHandler = new NativeRequestHandler();
}
$this->requestHandler = self::$nativeRequestProcessor;
$this->requestHandler = self::$nativeRequestHandler;
}
return $this->requestHandler;
@@ -852,8 +852,8 @@ class FormConfigBuilder implements FormConfigBuilderInterface
*
* @param string|int $name The tested form name
*
* @throws UnexpectedTypeException If the name is not a string or an integer.
* @throws InvalidArgumentException If the name contains invalid characters.
* @throws UnexpectedTypeException if the name is not a string or an integer
* @throws InvalidArgumentException if the name contains invalid characters
*/
public static function validateName($name)
{