Skip to content

Commit a594ffb

Browse files
Fixed README.md
1 parent 6ffe469 commit a594ffb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Generate always-up-to-date documentation.
9090
```php
9191
<?php
9292
require("vendor/autoload.php");
93-
$openapi = (new \OpenApi\Generator->generate(['/path/to/project']);
93+
$openapi = (new \OpenApi\Generator())->generate(['/path/to/project']);
9494
header('Content-Type: application/x-yaml');
9595
echo $openapi->toYaml();
9696
```

0 commit comments

Comments
 (0)