Skip to content

Commit 0a14e29

Browse files
authored
Merge pull request #8 from akester/master
Documentation fixes.
2 parents 223bb55 + 9dd52ca commit 0a14e29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This library requires PHP 7.1 or later.
99
## Install
1010

1111
```bash
12-
composer install platformsh/config-reader
12+
composer require platformsh/config-reader
1313
```
1414

1515
## Usage Example
@@ -116,7 +116,7 @@ The return value of `credentials()` is an associative array matching the relatio
116116
To make sure that a relationship is defined before you try to access credentials out of it, use the `hasRelationship()` method:
117117

118118
```php
119-
if ($config->hasRelationship('database') {
119+
if ($config->hasRelationship('database')) {
120120
$creds = $conifg->credentials('database');
121121
// ...
122122
}

0 commit comments

Comments
 (0)