1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
This commit is contained in:
Markus Staab 2020-03-21 15:19:30 +01:00 committed by GitHub
parent e49a5dd55d
commit 4079b53b93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ function takesString(string $s) : void {}
takesString(new A);
```
## How to fix
## How to fix
You can add an explicit string cast: