Skip to content

Commit 03b4f00

Browse files
committed
Fix PHPStan error
1 parent 42b30bc commit 03b4f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Reader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Reader
2828
* @phpstan-template T of SpecObjectInterface
2929
* @phpstan-param class-string<T> $baseType
3030
* @phpstan-return T
31-
* @param string $json the JSON string to decode.
31+
* @param string $filename the JSON string to decode.
3232
* @param string $baseType the base Type to instantiate. This must be an instance of [[SpecObjectInterface]].
3333
* The default is [[OpenApi]] which is the base type of a OpenAPI specification file.
3434
* You may choose a different type if you instantiate objects from sub sections of a specification.

0 commit comments

Comments
 (0)