Skip to content

Commit d202d53

Browse files
committed
Minor doc edits
1 parent f3e0d92 commit d202d53

File tree

10 files changed

+14
-14
lines changed

10 files changed

+14
-14
lines changed

deprecations.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ The `Handler` type and associated calls will be removed in version 2.0.
88

99
### Upgrade path
1010

11-
You should either create your own implementation for handling OOP usage,
11+
You should create your own implementation for handling OOP usage,
1212
but it's recommended to move away from using an OOP-style wrapper entirely.
1313

1414
The reason for this is that it's too easy for implementation details (for
1515
your application this is Flysystem) to leak into the application. The most
16-
important part for Flysystem is that it improved portability and creates a
16+
important part for Flysystem is that it improves portability and creates a
1717
solid boundary between your application core and the infrastructure you use.
18-
The OOP-style handling breaks this principle, therefor I want to stop
18+
The OOP-style handling breaks this principle, therefore I want to stop
1919
promoting it.

docs/advanced/caching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Caching
55
---
66

77
File system I/O is slow, so Flysystem uses cached file system meta-data to boost performance. When your application needs to scale you can also choose to use a (shared) persistent caching solution for this.
8-
Or enable a per request caching (recommended).
8+
Or enable per request caching (recommended).
99

1010
## Installing the adapter cache decorator
1111

docs/advanced/mount-manager.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ foreach ($contents as $entry) {
6060
### Copy
6161

6262
The copy method provided by the Mount Manager takes the origin of the file into account.
63-
When it detects the source and destination are located on a different file systems it'll
63+
When it detects the source and destination are located on different file systems it'll
6464
use a streamed upload instead, transparently.
6565

6666
```php
@@ -70,7 +70,7 @@ $mountManager->copy('local://some/file.ext', 'backup://storage/location.ext');
7070
### Move
7171

7272
The `move` call is the multi-file system counterpart to `rename`. Where rename must be used on
73-
the same file system, the `move` call provides the same conceptual behavior, but then on two
73+
the same file system, the `move` call provides the same conceptual behavior, but on two
7474
different file systems.
7575

7676
```php

docs/advanced/performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Performance
55
---
66

77
Flysystem aims to be as reliable as possible. In some cases this means doing extra
8-
checks to make sure the outcome will be as expected. For some adapter this means Flysystem
8+
checks to make sure the outcome will be as expected. For some adapters this means Flysystem
99
will make extra calls to assert whether or not a file exists. This improves the reliability
1010
but also impacts performance. You can opt out of this behaviour.
1111

docs/advanced/provided-plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ foreach ($listing as $object) {
3131
}
3232
```
3333

34-
## Get file into with explicit metadata.
34+
## Get file info with explicit metadata.
3535

3636
This requires the `League\Flysystem\Plugin\GetWithMetadata` plugin.
3737

docs/advanced/upgrade-to-1.0.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ $filesystem = new Filesystem($decoratedAdapter);
5252

5353
## Helper Methods
5454

55-
In order to clean up the Filsystem class, some helper functions have been moved to plugins.
55+
In order to clean up the Filesystem class, some helper functions have been moved to plugins.
5656

5757
* ListWith
5858
* ListPaths

docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ foreach ($listing as $object) {
182182
}
183183
~~~
184184

185-
__Get file into with explicit metadata__
185+
__Get file info with explicit metadata__
186186

187187
~~~ php
188188
$info = $filesystem->getWithMetadata('path/to/file.txt', ['timestamp', 'mimetype']);

docs/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ timestamp | modified time | `integer`
3030
In order to make the most out of every (expensive) filesystem call adapters
3131
return as much information as they can when/if available. This makes it possible
3232
for caching mechanisms to store this information so subsequent calls can be
33-
returned from cache without the need for additional filesystems calls.
33+
returned from cache without the need for additional filesystem calls.

docs/guides/deterministic-programming.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ problematic.
1212

1313
## Filesystems are slow.
1414

15-
In general, filesystem interaction is slow. Every operation operation that
15+
In general, filesystem interaction is slow. Every operation that
1616
hits the disc in one way or another is slow. While some operations absolutely
1717
require filesystem interaction, there's a number of cases where filesystem
1818
operations can be prevented in order to eliminate the associated penalties.
@@ -66,6 +66,6 @@ you can store all the paths in a persistent database. While this is
6666
not a conventional thing to do it certainly has a lot of benefits.
6767

6868
File listings are just a select statement: `SELECT * FROM files WHERE path LIKE '/prefix/%'`.
69-
Listings can easily be sorted. File existence checks are in expensive.
69+
Listings can easily be sorted. File existence checks are inexpensive.
7070
File migrations become really easy, even when your path generation
7171
strategy changes. Metadata can be stored alongside your path.

docs/usage/filesystem-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ param | description | type
150150

151151
## Get Timestamps
152152

153-
This function the last updated timestamp.
153+
This function returns the last updated timestamp.
154154

155155
```php
156156
$response = $filesystem->getTimestamp($path);

0 commit comments

Comments
 (0)