mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
DX: rector rules upt to PHP 74
This commit is contained in:
@@ -52,9 +52,7 @@ final class ExtractDateFromPatternTest extends TestCase
|
||||
$this->assertContainsOnlyInstancesOf(DateTimeImmutable::class, $result->getFound());
|
||||
|
||||
$dates = array_map(
|
||||
static function (DateTimeImmutable $d) {
|
||||
return $d->format('Y-m-d');
|
||||
},
|
||||
static fn(DateTimeImmutable $d) => $d->format('Y-m-d'),
|
||||
$result->getFound()
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user