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:
parent
8834a54934
commit
ede95105ac
@ -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) {}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user