Skip to content

Commit 674a7bd

Browse files
committed
fixup: remove void in test cases
1 parent 569bf07 commit 674a7bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Serializer/Tests/Normalizer/DateTimeNormalizerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ public function testDenormalizeDateTimeStringWithSpacesUsingFormatPassedInContex
305305
$this->normalizer->denormalize(' 2016.01.01 ', \DateTime::class, null, [DateTimeNormalizer::FORMAT_KEY => 'Y.m.d|']);
306306
}
307307

308-
public function testDenormalizeDateTimeStringWithDefaultContextFormat(): void
308+
public function testDenormalizeDateTimeStringWithDefaultContextFormat()
309309
{
310310
$format = 'd/m/Y';
311311
$string = '01/10/2018';
@@ -316,7 +316,7 @@ public function testDenormalizeDateTimeStringWithDefaultContextFormat(): void
316316
$this->assertSame('01/10/2018', $denormalizedDate->format($format));
317317
}
318318

319-
public function testDenormalizeDateTimeStringWithDefaultContextAllowsErrorFormat(): void
319+
public function testDenormalizeDateTimeStringWithDefaultContextAllowsErrorFormat()
320320
{
321321
$format = 'd/m/Y'; // the default format
322322
$string = '2020-01-01'; // the value which is in the wrong format, but is accepted because of `new \DateTime` in DateTimeNormalizer::denormalize

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy