Release 2.0.35 (#4302)

This commit is contained in:
Kevin Papst
2023-09-23 18:15:22 +02:00
committed by GitHub
parent de419350b2
commit 7a5b12762a
122 changed files with 1555 additions and 2054 deletions

View File

@@ -17,7 +17,7 @@ use Symfony\Component\Form\FormBuilderInterface;
abstract class AbstractRateForm extends AbstractType
{
protected function addFields(FormBuilderInterface $builder, ?string $currency)
protected function addFields(FormBuilderInterface $builder, ?string $currency): void
{
$builder
->add('user', UserType::class, [

View File

@@ -113,8 +113,8 @@ class DateTimePickerType extends AbstractType
'example' => (new \DateTime())->format(BaseApiController::DATE_FORMAT_PHP),
],
'input' => 'datetime',
'model_timezone' => null,
'view_timezone' => null,
'model_timezone' => date_default_timezone_get(),
'view_timezone' => date_default_timezone_get(),
// Don't modify \DateTime classes by reference, we treat
// them like immutable value objects
'by_reference' => false,