Skip to content

Commit 826bd3e

Browse files
committed
fix code style
1 parent 8037ff6 commit 826bd3e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Extension/Core/Type/TimeType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ public function configureOptions(OptionsResolver $resolver)
327327

328328
$resolver->setDeprecated('model_timezone', function (Options $options, $modelTimezone): string {
329329
if (null !== $modelTimezone && $options['view_timezone'] !== $modelTimezone && null === $options['reference_date']) {
330-
return sprintf('Using different values for the "model_timezone" and "view_timezone" options without configuring a reference date is deprecated since Symfony 4.4.');
330+
return 'Using different values for the "model_timezone" and "view_timezone" options without configuring a reference date is deprecated since Symfony 4.4.';
331331
}
332332

333333
return '';

Tests/Extension/Core/DataTransformer/StringToFloatTransformerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function provideReverseTransformations(): array
7070
/**
7171
* @dataProvider provideReverseTransformations
7272
*/
73-
public function testReverseTransform($from, $to, int $scale = null): void
73+
public function testReverseTransform($from, $to, int $scale = null)
7474
{
7575
$transformer = new StringToFloatTransformer($scale);
7676

0 commit comments

Comments
 (0)