Skip to content
This repository was archived by the owner on Jan 20, 2024. It is now read-only.

Commit 1d1a073

Browse files
Minor clean-up in README.md
1 parent 507c4e7 commit 1d1a073

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[![Build Status](https://api.travis-ci.org/raml-org/raml-php-parser.svg?branch=master)](https://www.travis-ci.org/raml-org/raml-php-parser)
22
[![Coverage Status](https://coveralls.io/repos/github/raml-org/raml-php-parser/badge.svg?branch=master)](https://coveralls.io/github/raml-org/raml-php-parser?branch=master)
3-
[![Latest Stable Version](https://poser.pugx.org/raml-org/raml-php-parser/version)](https://packagist.org/packages/raml-org/raml-php-parser)
3+
[![Latest Stable Version](https://poser.pugx.org/raml-org/raml-php-parser/v/stable)](https://packagist.org/packages/raml-org/raml-php-parser)
4+
[![Latest Unstable Version](https://poser.pugx.org/raml-org/raml-php-parser/v/unstable)](https://packagist.org/packages/raml-org/raml-php-parser)
45
[![Total Downloads](https://poser.pugx.org/raml-org/raml-php-parser/downloads)](https://packagist.org/packages/raml-org/raml-php-parser)
56

67
See the [RAML specification](https://github.com/raml-org/raml-spec).
@@ -60,7 +61,7 @@ returned using:
6061

6162

6263
```php
63-
$parser = new Raml\Parser();
64+
$parser = new \Raml\Parser();
6465
$api = $parser->parse('tests/fixture/simple.raml');
6566

6667
$routes = $api->getResourcesAsUri();
@@ -75,7 +76,7 @@ To return:
7576
DELETE /songs/{songId} => ...
7677
]
7778

78-
$routes = $api->getResourcesAsUri(new Raml\RouteFormatter\NoRouteFormatter());
79+
$routes = $api->getResourcesAsUri(new \Raml\RouteFormatter\NoRouteFormatter());
7980
```
8081

8182
#### Route Formatters

0 commit comments

Comments
 (0)