1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Update CoreImmutableClasses.phpstub (#5218)

Fixes wrong parameter names - https://psalm.dev/r/8cfdb309d9
This commit is contained in:
Tarmo Leppänen 2021-02-14 19:07:39 +02:00 committed by GitHub
parent 8834a54934
commit ede95105ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
*/
class DateTimeImmutable implements DateTimeInterface
{
public function __construct(string $time = "now", DateTimeZone $tz = null) {}
public function __construct(string $datetime = "now", DateTimeZone $timezone = null) {}
}
/**
@ -13,7 +13,7 @@ class DateTimeImmutable implements DateTimeInterface
*/
class DateTimeZone
{
public function __construct(string $tz) {}
public function __construct(string $timezone) {}
}
/**