Skip to content

Commit 34f6e20

Browse files
authored
Update Reader.php
fix typo
1 parent 015bd48 commit 34f6e20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Reader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static function readFromYaml(string $yaml, string $baseType = OpenApi::cl
6363
* [[SpecObjectInterface::resolveReferences()]].
6464
* Since version 1.5.0 this can be a string indicating the reference resolving mode:
6565
* - `inline` only resolve references to external files.
66-
* - `all` resolve all references exceot recursive references.
66+
* - `all` resolve all references except recursive references.
6767
* @return SpecObjectInterface|OpenApi the OpenApi object instance.
6868
* The type of the returned object depends on the `$baseType` argument.
6969
* @throws TypeErrorException in case invalid spec data is supplied.
@@ -104,7 +104,7 @@ public static function readFromJsonFile(string $fileName, string $baseType = Ope
104104
* [[SpecObjectInterface::resolveReferences()]].
105105
* Since version 1.5.0 this can be a string indicating the reference resolving mode:
106106
* - `inline` only resolve references to external files.
107-
* - `all` resolve all references exceot recursive references.
107+
* - `all` resolve all references except recursive references.
108108
* @return SpecObjectInterface|OpenApi the OpenApi object instance.
109109
* The type of the returned object depends on the `$baseType` argument.
110110
* @throws TypeErrorException in case invalid spec data is supplied.

0 commit comments

Comments
 (0)