File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,12 +49,12 @@ public static function allProvider(): array
4949 ];
5050 }
5151
52- public static function transformProvider ()
52+ public static function transformProvider (): array
5353 {
5454 return self ::allProvider ();
5555 }
5656
57- public static function reverseTransformProvider ()
57+ public static function reverseTransformProvider (): array
5858 {
5959 return array_merge (self ::allProvider (), [
6060 // format without seconds, as appears in some browsers
@@ -132,7 +132,7 @@ public function testReverseTransformExpectsValidDateString($date)
132132 $ transformer ->reverseTransform ($ date );
133133 }
134134
135- public static function invalidDateStringProvider ()
135+ public static function invalidDateStringProvider (): array
136136 {
137137 return [
138138 'invalid month ' => ['2010-2010-01 ' ],
You can’t perform that action at this time.
0 commit comments