We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ffe469 commit a594ffbCopy full SHA for a594ffb
1 file changed
README.md
@@ -90,7 +90,7 @@ Generate always-up-to-date documentation.
90
```php
91
<?php
92
require("vendor/autoload.php");
93
-$openapi = (new \OpenApi\Generator->generate(['/path/to/project']);
+$openapi = (new \OpenApi\Generator())->generate(['/path/to/project']);
94
header('Content-Type: application/x-yaml');
95
echo $openapi->toYaml();
96
```
0 commit comments