Skip to content

Commit 52dc32b

Browse files
authored
Merge pull request #107 from ishanvyas22/0.2.x
Fix formatting in readme
2 parents e50a88a + 39ef59c commit 52dc32b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,9 @@ $filesystem->directory(
251251
The following will create `with-a-file.txt` in `lets/make/a/nested/directory` and write `This is amazing!` into that file.
252252

253253
```php
254-
use React\Filesystem\Node\FileInterface;$filesystem->file(
254+
use React\Filesystem\Node\FileInterface;
255+
256+
$filesystem->file(
255257
__DIR__ . 'lets' . DIRECTORY_SEPARATOR . 'make' . DIRECTORY_SEPARATOR . 'a' . DIRECTORY_SEPARATOR . 'nested' . DIRECTORY_SEPARATOR . 'directory' . DIRECTORY_SEPARATOR . 'with-a-file.txt'
256258
)->createFile()->then(function (FileInterface $file) {
257259
return $file->putContents('This is amazing!')

0 commit comments

Comments
 (0)