Skip to content

Commit

Permalink
Add implements DateTimeInterface
Browse files Browse the repository at this point in the history
Fixes #2948
  • Loading branch information
muglug committed Mar 9, 2020
1 parent 3c41648 commit aa8d7be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/Stubs/CoreGenericClasses.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,7 @@ final class WeakReference
/**
* @psalm-immutable
*/
class DateTimeImmutable
class DateTimeImmutable implements DateTimeInterface
{
public function __construct(string $time = "now", DateTimeZone $tz = null) {}
}
Expand Down

0 comments on commit aa8d7be

Please sign in to comment.